Skip to content

Commit

Permalink
Make linter happier
Browse files Browse the repository at this point in the history
  • Loading branch information
kulmann committed Feb 10, 2022
1 parent 872f755 commit 84b773c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/web-runtime/src/layouts/Application.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,6 @@ export default {
windowWidth: 0
}
},
mounted() {
this.$nextTick(() => {
window.addEventListener('resize', this.onResize)
this.onResize()
})
},
beforeDestroy() {
window.removeEventListener('resize', this.onResize)
},
computed: {
...mapGetters([
'capabilities',
Expand Down Expand Up @@ -107,6 +98,15 @@ export default {
return list
}
},
mounted() {
this.$nextTick(() => {
window.addEventListener('resize', this.onResize)
this.onResize()
})
},
beforeDestroy() {
window.removeEventListener('resize', this.onResize)
},
methods: {
...mapActions(['deleteMessage']),
onResize() {
Expand Down

0 comments on commit 84b773c

Please sign in to comment.