Move communication workbench to use resource store

Because it's getting better all the time, including by adding the
ability to get new resources when they get created over SSE.
This commit is contained in:
Eli Ribble 2026-05-20 23:49:59 +00:00
parent 72eef554ea
commit b4ae9e5a95
No known key found for this signature in database
6 changed files with 50 additions and 116 deletions

View file

@ -174,7 +174,7 @@ interface Emits {
}
interface Props {
isLoading: boolean;
selectedCommunication: Communication | null;
selectedCommunication: Communication | undefined;
selectedReport: PublicReport | undefined;
}
const emit = defineEmits<Emits>();

View file

@ -110,7 +110,7 @@ interface Props {
loading: boolean;
mapBounds?: LngLatBounds;
mapMarkers: Marker[];
selectedCommunication: Communication | null;
selectedCommunication: Communication | undefined;
selectedReport: PublicReport | undefined;
}

View file

@ -206,7 +206,7 @@ import ListCardCommunication from "@/components/ListCardCommunication.vue";
import { Communication, LogEntry, PublicReport } from "@/type/api";
interface Props {
all: Communication[] | null;
all: Communication[] | undefined;
loading: boolean;
selectedID?: string;
}