From d4165ec2d0f323d500b23746e70feca981472d03 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Sun, 22 Mar 2026 07:16:42 +0000 Subject: [PATCH] Fix display of image modal, start work on fixing marking things --- ts/components/CommunicationColumnAction.vue | 43 +++------ ts/components/CommunicationColumnDetail.vue | 9 +- ts/components/PhotoViewerModal.vue | 29 ++++-- ts/view/Communication.vue | 100 ++++++++++++-------- 4 files changed, 107 insertions(+), 74 deletions(-) diff --git a/ts/components/CommunicationColumnAction.vue b/ts/components/CommunicationColumnAction.vue index 773b0ef5..7248b91f 100644 --- a/ts/components/CommunicationColumnAction.vue +++ b/ts/components/CommunicationColumnAction.vue @@ -29,7 +29,7 @@
- This report is useful signal @@ -143,11 +143,17 @@ diff --git a/ts/components/CommunicationColumnDetail.vue b/ts/components/CommunicationColumnDetail.vue index dc6e0e51..72566ea1 100644 --- a/ts/components/CommunicationColumnDetail.vue +++ b/ts/components/CommunicationColumnDetail.vue @@ -334,7 +334,7 @@
- +
(); const props = defineProps(); const nuisance = computed(() => { return props.selectedCommunication?.value?.public_report?.nuisance || null; @@ -404,4 +408,7 @@ function formatAddress(a) { } return `${a.number} ${a.street}, ${a.locality}`; } +function openPhotoViewer(index) { + emit("viewImage", index); +} diff --git a/ts/components/PhotoViewerModal.vue b/ts/components/PhotoViewerModal.vue index c66bce95..903284a2 100644 --- a/ts/components/PhotoViewerModal.vue +++ b/ts/components/PhotoViewerModal.vue @@ -72,19 +72,14 @@