changeset 2637:472b0e653644

client: sidebar: fixed indicator update interval accidentally used setTimeout instead of setInterval
author Markus Kottlaender <markus@intevation.de>
date Thu, 14 Mar 2019 10:34:49 +0100
parents ef718ac7697d
children 6c1730fc3dc1
files client/src/components/Sidebar.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Sidebar.vue	Thu Mar 14 10:17:53 2019 +0100
+++ b/client/src/components/Sidebar.vue	Thu Mar 14 10:34:49 2019 +0100
@@ -208,7 +208,7 @@
   },
   mounted() {
     this.updateIndicators();
-    setTimeout(this.updateIndicators, 15000);
+    setInterval(this.updateIndicators, 15000);
   }
 };
 </script>