Fix potential JavaScript error

This commit is contained in:
Quincy Morgan
2020-10-09 10:24:53 -04:00
parent d43fc62994
commit bebd7db214

View File

@@ -7,6 +7,7 @@ export function actionUpgradeTags(entityId, oldTags, replaceTags) {
var semiIndex;
for (var oldTagKey in oldTags) {
if (!(oldTagKey in tags)) continue;
// wildcard match
if (oldTags[oldTagKey] === '*') {
// note the value since we might need to transfer it