destroy Interval to render every Second the History

This commit is contained in:
Tim Gröger 2020-02-22 08:40:02 +01:00
parent 3125e00a2a
commit ae89781da1
1 changed files with 3 additions and 0 deletions

View File

@ -342,6 +342,9 @@ export default {
menu_from_store() { menu_from_store() {
this.menu = this.menu_from_store this.menu = this.menu_from_store
} }
},
beforeDestroy () {
clearInterval(this.timer)
} }
} }
</script> </script>