ui(mapillary): drop the keyless empty state

The panel no longer shows a separate keyless call-to-action; the fieldset
gate and the layer-row tooltip already cover the missing-key case. The
planner flag is tri-state (null until status answers).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
Said TurkseverandClaude Fable 5.1 committed 2026-09-25 17:51:58 +01:00
1 parent 10a00873ca
commit 7f65a32877
11 files changed
+31 -60

No files matched your search

+2 -1
View File
@@ -180,7 +180,8 @@ export function createMapillaryLayer({ source, services = {} }) {
return {
enabled: state.enabled,
keyRequired: state.keyRequired,
planner: state.status?.planner === true,
// null until the status call answers (the layer initialises lazily).
planner: state.status ? state.status.planner === true : null,
plannerModel: state.status?.plannerModel || null,
coverage: {
zoom: state.coverage.zoom,