Skip to content

Commit

Permalink
chore: linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
santilland committed Jul 21, 2023
1 parent a4f1d6b commit 2651c58
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/src/components/DataPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,9 @@ export default {
let compare;
const { selectedIndicator } = this.$store.state.indicators;
const hasGrouping = this.appConfig.featureGrouping && this.appConfig.featureGrouping
.find((g) => g.features.find((i) => i.includes(this.getLocationCode(selectedIndicator, this.featureObject))));
.find((g) => g.features.find((i) => i.includes(this.getLocationCode(
selectedIndicator, this.featureObject,
))));
if (
hasGrouping
&& !['global'].includes(selectedIndicator.properties.indicatorObject.siteName)
Expand All @@ -642,7 +644,9 @@ export default {
await loadIndicatorData(this.baseConfig, feature.properties.indicatorObject);
}));
compare.features = compare.features.map((f) => this.$store.state.features.allFeatures
.find((i) => this.getLocationCode(i.properties.indicatorObject, this.featureObject) === f));
.find((i) => this.getLocationCode(
i.properties.indicatorObject, this.featureObject,
) === f));
}
this.multipleTabCompare = compare;
},
Expand Down

0 comments on commit 2651c58

Please sign in to comment.