destroyed -> unmounted

This commit is contained in:
Henry Jameson 2021-04-25 13:44:50 +03:00
parent 72956e2343
commit caed89f0ae
12 changed files with 12 additions and 12 deletions

View file

@ -57,7 +57,7 @@ const Chat = {
})
this.setChatLayout()
},
destroyed () {
unmounted () {
window.removeEventListener('scroll', this.handleScroll)
window.removeEventListener('resize', this.handleLayoutChange)
this.unsetChatLayout()