Mercurial > gemma
changeset 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 | 26ce6fbfcd7c |
children | 1fd771b08ced |
files | client/src/components/fairway/Fairwayprofile.vue |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue Mon Oct 21 11:51:52 2019 +0200 +++ b/client/src/components/fairway/Fairwayprofile.vue Mon Oct 21 11:59:14 2019 +0200 @@ -242,6 +242,7 @@ : this.bottleneck.get("gm_waterlevel"); }, refWaterlevel() { + if (!this.selectedSurvey) return 0; return this.selectedSurvey.waterlevel_value; } },