Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed Mar 8, 2024
1 parent 5d4158e commit e3c09a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion staticfiles/static/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ let app = new Vue({
let keys = new Set();

for (let u of data) {
keys.add(this.processUnit(u).uid);
keys.add(this.processUnit(u)?.uid);
}

for (const k of this.units.keys()) {
Expand All @@ -281,6 +281,7 @@ let app = new Vue({
},

processUnit: function (u) {
if (!u) return;
let unit = this.units.get(u.uid);
let updateIcon = false;
if (u.category === "delete") {
Expand Down

0 comments on commit e3c09a7

Please sign in to comment.