From f8b3f66904a8f7bf9feef192e5223d04f9f1774d 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 f731e2e9b1..1fd6952a39 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()) {