Fix camera popup crash when only surveillance:operator is set

This commit is contained in:
Sarmad committed 2026-06-17 15:37:17 -04:00
1 parent dafca17132
commit fda92d6622
1 file changed
+1 -1
+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);