diff --git a/src/client/app/desktop/views/deck/deck.vue b/src/client/app/desktop/views/deck/deck.vue index 5af2075e4a..62ed0a8ce3 100644 --- a/src/client/app/desktop/views/deck/deck.vue +++ b/src/client/app/desktop/views/deck/deck.vue @@ -55,17 +55,16 @@ export default Vue.extend({ } }, - watch: {/* - temporaryColumn() { - if (this.temporaryColumn != null) { - this.$nextTick(() => { - this.$refs.body.scrollTo({ - left: this.$refs.body.scrollWidth - this.$refs.body.clientWidth, - behavior: 'smooth' - }); + watch: { + $route() { + if (this.$route.name == 'index') return; + this.$nextTick(() => { + this.$refs.body.scrollTo({ + left: this.$refs.body.scrollWidth - this.$refs.body.clientWidth, + behavior: 'smooth' }); - } - }*/ + }); + } }, provide() {