changeset 3865:36e85a74fca0

hydrolgical condition: remove old diagram
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 09 Jul 2019 15:42:12 +0200
parents dd0e5be71393
children 42cd1978b504
files client/src/components/gauge/HydrologicalConditions.vue
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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")) {