Get to where we can display something on pool review

This commit is contained in:
Eli Ribble 2026-03-28 09:14:09 -07:00
parent 33399b5e2a
commit 9921618c12
No known key found for this signature in database
14 changed files with 919 additions and 44 deletions

View file

@ -315,6 +315,7 @@ import { computed } from "vue";
import MapMultipoint from "@/components/MapMultipoint.vue";
import PublicreportCard from "@/components/PublicreportCard.vue";
import TimeRelative from "@/components/TimeRelative.vue";
import { formatAddress } from "@/format";
interface Emits {
(e: "viewImage", index: int): void;
@ -324,12 +325,6 @@ interface Props {
}
const emit = defineEmits<Emits>();
const props = defineProps<Props>();
function formatAddress(a) {
if (a.number === "" && a.street === "") {
return "no address provided";
}
return `${a.number} ${a.street}, ${a.locality}`;
}
function openPhotoViewer(index) {
emit("viewImage", index);
}