Skip to content

Fix camera popup crash when only surveillance:operator is set#117

Open
resistanceisliberty wants to merge 1 commit into
FoggedLens:masterfrom
resistanceisliberty:fix-operator-popup-crash
Open

Fix camera popup crash when only surveillance:operator is set#117
resistanceisliberty wants to merge 1 commit into
FoggedLens:masterfrom
resistanceisliberty:fix-operator-popup-crash

Conversation

@resistanceisliberty

Copy link
Copy Markdown

In DFMapPopup.vue, abbreviatedOperator finds the matching operator tag key (operator or surveillance:operator) but then reads tags.operator directly. For a node tagged only with surveillance:operator, that value is undefined and the following operator.includes(...) throws, leaving a broken/empty popup. This reads the matched key (tags[operatorTagKey]) instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant