Add generic resource store, start adding context cards
These cards are meant to be generic and can show an unlimited amount of related context about a communication.
This commit is contained in:
parent
c92d23792f
commit
ffb981e40b
7 changed files with 180 additions and 10 deletions
|
|
@ -5,10 +5,10 @@
|
|||
<FlyoverPoolCard :location="signal.location" :markers="[]" />
|
||||
</div>
|
||||
<div v-else-if="signal.type == 'publicreport nuisance' && signal.report">
|
||||
<PublicReportCard :report="signal.report" />
|
||||
<CardPublicReport :reportURI="signal.report.uri" />
|
||||
</div>
|
||||
<div v-else-if="signal.type == 'publicreport water' && signal.report">
|
||||
<PublicReportCard :report="signal.report" />
|
||||
<CardPublicReport :reportURI="signal.report.uri" />
|
||||
</div>
|
||||
<div v-else>
|
||||
<p>No report or pool</p>
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
<script setup lang="ts">
|
||||
import FlyoverPoolCard from "@/components/FlyoverPoolCard.vue";
|
||||
import PublicReportCard from "@/components/PublicReportCard.vue";
|
||||
import CardPublicReport from "@/components/CardPublicReport.vue";
|
||||
import TimeRelative from "@/components/TimeRelative.vue";
|
||||
import { formatAddressShort } from "@/format";
|
||||
import { Signal } from "@/type/api";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue