Add log and related resources to API in frontend

This commit is contained in:
Eli Ribble 2026-05-12 23:20:54 +00:00
parent 999d69365c
commit ec98c8226e
No known key found for this signature in database
3 changed files with 29 additions and 6 deletions

View file

@ -74,12 +74,10 @@
</div>
<div class="h-100 d-flex flex-column" v-else>
<PublicReportCard
v-if="selectedReport"
:report="selectedReport"
@viewImage="openPhotoViewer"
<ResourceCard
:resource="resource"
v-for="(resource, index) in selectedCommunication.related"
/>
<p v-else>Loading details...</p>
</div>
</div>
</div>
@ -88,7 +86,7 @@
<script setup lang="ts">
import { computed } from "vue";
import PublicReportCard from "@/components/PublicReportCard.vue";
import ResourceCard from "@/components/ResourceCard.vue";
import TimeRelative from "@/components/TimeRelative.vue";
import Map, { LngLatBounds } from "@/map/Map.vue";
import Layer from "@/map/Layer.vue";