Add log and related resources to API in frontend
This commit is contained in:
parent
999d69365c
commit
ec98c8226e
3 changed files with 29 additions and 6 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue