Mercurial > gemma
diff client/src/components/gauge/HydrologicalConditions.vue @ 3865:36e85a74fca0
hydrolgical condition: remove old diagram
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 09 Jul 2019 15:42:12 +0200 |
parents | ecf2e5ea1464 |
children | 7d86beedfb00 |
line wrap: on
line diff
--- a/client/src/components/gauge/HydrologicalConditions.vue Tue Jul 09 15:37:59 2019 +0200 +++ b/client/src/components/gauge/HydrologicalConditions.vue Tue Jul 09 15:42:12 2019 +0200 @@ -276,6 +276,7 @@ // TODO depend on the size and aspect ration on paper scale: this.templateData.properties.paperSize === "a3" ? 0.45 : 0.18 }); + offScreen.removeChild(svg); }, applyChange() { if (this.form.template.hasOwnProperty("properties")) {