Skip to content

Commit

Permalink
Merge branch 'master' into multiple-time-periods
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Dec 28, 2023
2 parents 11225b2 + 7668336 commit 7b6be75
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/components/map/map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -368,17 +368,17 @@ export default {
if (this.building_compare_error === false) {
let path = this.$store.getters['map/building'](this.compareStories[0]).path
let mgId = this.$store.getters[path + '/primaryGroup']('Electricity').id
let blockSpace = this.$store.getters[path + '/block'](mgId).path
await this.$store.dispatch(blockSpace + '/removeAllModifiers')
await this.$store.dispatch(blockSpace + '/addModifier', 'building_compare')
await this.$store.dispatch(blockSpace + '/updateModifier', {
name: 'building_compare',
data: {
buildingIds: this.compareStories
}
})
if (target === 'q') {
let blockSpace = this.$store.getters[path + '/block'](mgId).path
await this.$store.dispatch(blockSpace + '/removeAllModifiers')
await this.$store.dispatch(blockSpace + '/addModifier', 'building_compare')
await this.$store.dispatch(blockSpace + '/updateModifier', {
name: 'building_compare',
data: {
buildingIds: this.compareStories
}
})
window.vue.$store.dispatch('modalController/openModal', {
name: 'map_compare_side',
path: path
Expand Down

0 comments on commit 7b6be75

Please sign in to comment.