wip: POC arrival times
This commit is contained in:
+2
-2
@@ -27,7 +27,7 @@ export const useMresoStore = defineStore("mresoStore", {
|
||||
return Object.fromEntries(state.routes.map((r) => [r.id, r]));
|
||||
},
|
||||
linesById(state): { [id: string]: Feature<MultiLineString> } {
|
||||
if (!state.lines) {
|
||||
if (!("features" in state.lines)) {
|
||||
return {};
|
||||
}
|
||||
return Object.fromEntries(
|
||||
@@ -35,7 +35,7 @@ export const useMresoStore = defineStore("mresoStore", {
|
||||
);
|
||||
},
|
||||
clustersById(state): { [id: string]: Feature<Point> } {
|
||||
if (!state.clusters) {
|
||||
if (!("features" in state.clusters)) {
|
||||
return {};
|
||||
}
|
||||
return Object.fromEntries(
|
||||
|
||||
Reference in New Issue
Block a user