Merge pull request #117 from resistanceisliberty/fix-operator-popup-crash

Fix camera popup crash when only surveillance:operator is set
This commit is contained in:
stopflock
2026-07-08 18:52:38 -05:00
committed by GitHub
+1 -1
View File
@@ -101,7 +101,7 @@ const abbreviatedOperator = computed(() => {
"Sheriffs Office": "SO",
};
const operator = props.alpr.tags.operator;
const operator = props.alpr.tags[operatorTagKey];
for (const [full, abbr] of Object.entries(replacements)) {
if (operator.includes(full)) {
return operator.replace(full, abbr);