Mercurial > gemma
comparison client/src/components/Sidebar.vue @ 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 | 30df2d12d37f |
children | 9f3856337f55 |
comparison
equal
deleted
inserted
replaced
2636:ef718ac7697d | 2637:472b0e653644 |
---|---|
206 }); | 206 }); |
207 } | 207 } |
208 }, | 208 }, |
209 mounted() { | 209 mounted() { |
210 this.updateIndicators(); | 210 this.updateIndicators(); |
211 setTimeout(this.updateIndicators, 15000); | 211 setInterval(this.updateIndicators, 15000); |
212 } | 212 } |
213 }; | 213 }; |
214 </script> | 214 </script> |
215 | 215 |
216 <style lang="scss" scoped> | 216 <style lang="scss" scoped> |