Skip to content

Commit

Permalink
fix level legend conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
ngottlieb committed May 6, 2024
1 parent 1dac8f0 commit 41e65e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/views/river-detail/components/flow-tab/flow-tab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ export default {
return null;
},
correlationMatchesMetric(gauge) {
return gauge && gauge.correlationDetails && gauge.correlationDetails.data &&
gauge.correlationDetails.data.flowMetric === this.activeMetric;
return gauge && gauge.correlationDetails && gauge.correlationDetails.data &&
gauge.correlationDetails.data.flowMetric === gauge.requestedMetric;
},
async getReadings(gauge) {
gauge.loading = true;
Expand Down

0 comments on commit 41e65e2

Please sign in to comment.