Mercurial > gemma
comparison client/src/components/gauge/HydrologicalConditions.vue @ 3923:50a0b6d3b032
client: hydrological cond diagram: removed updated hook to prevent unintended re-drawing of diagram
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Thu, 11 Jul 2019 16:18:25 +0200 |
parents | f7f09f32d6e0 |
children | 03f37e64701c |
comparison
equal
deleted
inserted
replaced
3922:32b656e77e2f | 3923:50a0b6d3b032 |
---|---|
1065 title: this.$gettext("Backend Error"), | 1065 title: this.$gettext("Backend Error"), |
1066 message: `${status}: ${data.message || data}` | 1066 message: `${status}: ${data.message || data}` |
1067 }); | 1067 }); |
1068 }); | 1068 }); |
1069 }, | 1069 }, |
1070 updated() { | |
1071 this.drawDiagram(); | |
1072 }, | |
1073 destroyed() { | 1070 destroyed() { |
1074 window.removeEventListener("resize", this.resizeListenerFunction); | 1071 window.removeEventListener("resize", this.resizeListenerFunction); |
1075 } | 1072 } |
1076 }; | 1073 }; |
1077 </script> | 1074 </script> |