Begin work on saving compliance report

This commit is contained in:
Eli Ribble 2026-04-09 23:38:20 +00:00
parent 3ad95e1365
commit 553b65556a
No known key found for this signature in database
22 changed files with 2419 additions and 42 deletions

View file

@ -624,7 +624,7 @@ import ImageUpload, { Image } from "@/components/ImageUpload.vue";
import MapLocator from "@/components/MapLocator.vue";
import Tooltip from "@/components/Tooltip.vue";
import { useGeocodeStore } from "@/store/geocode";
import { useLocationStore } from "@/store/location";
import { useStoreLocation } from "@/store/location";
import { useStorePublicReport } from "@/store/publicreport";
import type { Marker } from "@/types";
import type {
@ -656,7 +656,7 @@ const markers = computed((): Marker[] => {
return [];
}
});
const locationStore = useLocationStore();
const storeLocation = useStoreLocation();
const locator = ref<Locator>({
address: {
country: "",
@ -769,7 +769,7 @@ async function doSubmit() {
}
}
onMounted(() => {
locationStore
storeLocation
.get()
.then((loc: GeolocationPosition) => {
console.log("user geolocation", loc);