Mercurial > gemma
comparison client/src/components/fairway/Fairwayprofile.vue @ 4773:af83ff003ebf
fairway_profile: fix offscreen rendering bug.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 21 Oct 2019 11:59:14 +0200 |
parents | 67a5de15490b |
children | 75e6ec39a0b7 |
comparison
equal
deleted
inserted
replaced
4772:26ce6fbfcd7c | 4773:af83ff003ebf |
---|---|
240 return this.selectedWaterLevel === "ref" | 240 return this.selectedWaterLevel === "ref" |
241 ? this.refWaterlevel | 241 ? this.refWaterlevel |
242 : this.bottleneck.get("gm_waterlevel"); | 242 : this.bottleneck.get("gm_waterlevel"); |
243 }, | 243 }, |
244 refWaterlevel() { | 244 refWaterlevel() { |
245 if (!this.selectedSurvey) return 0; | |
245 return this.selectedSurvey.waterlevel_value; | 246 return this.selectedSurvey.waterlevel_value; |
246 } | 247 } |
247 }, | 248 }, |
248 watch: { | 249 watch: { |
249 depth() { | 250 depth() { |