Mercurial > gemma
changeset 4586:90936099d1c8 iso-areas
Merged default into iso-areas branch.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 08 Oct 2019 17:21:56 +0200 |
parents | d4480bbe7d07 (current diff) 0bad1dcdb044 (diff) |
children | ffa3148b95c5 |
files | |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/fairway/BottleneckDialogue.vue Tue Oct 08 17:01:49 2019 +0200 +++ b/client/src/components/fairway/BottleneckDialogue.vue Tue Oct 08 17:21:56 2019 +0200 @@ -541,7 +541,7 @@ if (cut) { if (cut.depth) { this.depth = cut.depth; - this.useCustomDepth = true; + this.useCustomDepth = cut.useCustomDepth; } this.applyCoordinates(cut.coordinates); } @@ -709,7 +709,8 @@ bottleneckName: this.selectedBottleneck, coordinates: [...this.startPoint, ...this.endPoint], timestamp: new Date().getTime(), - depth: this.depth + depth: this.depth, + useCustomDepth: this.useCustomDepth }; const existingEntry = previousCuts.find(cut => { return JSON.stringify(cut) === JSON.stringify(newEntry);