changeset 3295:a409608dd6b3

client: waterlevel diagram: removed updated hook to avoid unintended re-rendering Situations in which the diagram needs to be re-rendered can be addressed specifically with watchers.
author Markus Kottlaender <markus@intevation.de>
date Thu, 16 May 2019 15:36:11 +0200
parents 5f0c6e931e7f
children fa7dc3f31ef3
files client/src/components/gauge/Waterlevel.vue
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/gauge/Waterlevel.vue	Thu May 16 15:20:11 2019 +0200
+++ b/client/src/components/gauge/Waterlevel.vue	Thu May 16 15:36:11 2019 +0200
@@ -1217,9 +1217,6 @@
         });
       });
   },
-  updated() {
-    this.drawDiagram();
-  },
   destroyed() {
     window.removeEventListener("resize", debounce(this.drawDiagram));
   }