mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-02-06 20:33:33 +01:00
fix: Clear local timeline after destroy
This commit is contained in:
parent
14cabecaa3
commit
5086051c5e
@ -42,6 +42,7 @@ export default {
|
||||
this.$store.dispatch('TimelineSpace/Contents/Local/stopLocalStreaming')
|
||||
},
|
||||
destroyed () {
|
||||
this.$store.commit('TimelineSpace/Contents/Local/updateTimeline', [])
|
||||
if (document.getElementById('scrollable') !== undefined && document.getElementById('scrollable') !== null) {
|
||||
document.getElementById('scrollable').removeEventListener('scroll', this.onScroll)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user