Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed Feb 12, 2024
1 parent 841586f commit 3cbf5ef
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions staticfiles/static/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,7 @@ let app = new Vue({
},
computed: {
current_unit: function () {
if (this.current_unit_uid) {
return this.current_unit_uid && this.getCurrentUnit();
} else {
return null;
}
return this.current_unit_uid ? this.current_unit_uid && this.getCurrentUnit() : null;
}
},
methods: {
Expand Down

0 comments on commit 3cbf5ef

Please sign in to comment.