From 34d8b0003972835189daaecf5300fa4d78167d7b Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 15 Feb 2019 15:12:23 +0900 Subject: [PATCH] Refactor --- .../app/desktop/views/deck/deck.column.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/client/app/desktop/views/deck/deck.column.vue b/src/client/app/desktop/views/deck/deck.column.vue index f731e2e9b..1fd6952a3 100644 --- a/src/client/app/desktop/views/deck/deck.column.vue +++ b/src/client/app/desktop/views/deck/deck.column.vue @@ -65,6 +65,16 @@ export default Vue.extend({ } }, + data() { + return { + count: 0, + active: true, + dragging: false, + draghover: false, + dropready: false + }; + }, + computed: { isTemporaryColumn(): boolean { return this.column == null; @@ -84,16 +94,6 @@ export default Vue.extend({ getColumnVm: { from: 'getColumnVm' } }, - data() { - return { - count: 0, - active: true, - dragging: false, - draghover: false, - dropready: false - }; - }, - watch: { active(v) { if (v && this.isScrollTop()) {