Keep fire and camera selections bound to their source records

This commit is contained in:
German Khokhlov committed 2026-11-03 04:18:53 +04:00
1 parent b01f1ee7dc
commit c4a97a653c
7 files changed
+220 -31

No files matched your search

+3 -3
View File
@@ -219,7 +219,7 @@ export function createApplicationCatalog({
],
[
'alpr-cameras',
() => createApplicationAlpr({ surface, source: sources.alpr }),
() => sessionModel('alpr-cameras', () => createApplicationAlpr({ surface, source: sources.alpr })),
],
[
'street-level',
@@ -326,14 +326,14 @@ export function createApplicationCatalog({
[
'local-firms',
() =>
createApplicationFirms({
sessionModel('local-firms', () => createApplicationFirms({
surface,
id: 'local-firms',
name: 'FIRMS Active Fires',
icon: '▲',
source: 'NASA FIRMS · LIVE',
feed: sources.firms,
}),
})),
],
];
const available = (id) => availability.isAvailable(id);