From 567b9cc66e8c31527b6144f657f36e5d9dc68665 Mon Sep 17 00:00:00 2001 From: chandi Langecker Date: Mon, 5 Sep 2022 11:54:30 +0200 Subject: [PATCH] use data() for constants instead of a computed property Signed-off-by: chandi Langecker --- src/components/Controls.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Controls.vue b/src/components/Controls.vue index a29cc5a2e..205486108 100644 --- a/src/components/Controls.vue +++ b/src/components/Controls.vue @@ -268,6 +268,7 @@ export default { filter: { tags: [], users: [], due: '', unassigned: false }, showAddCardModal: false, defaultPageTitle: false, + isNotifyPushEnabled: isNotifyPushEnabled(), } }, @@ -291,9 +292,6 @@ export default { labelsSorted() { return [...this.board.labels].sort((a, b) => (a.title < b.title) ? -1 : 1) }, - isNotifyPushEnabled() { - return isNotifyPushEnabled() - }, }, watch: { board(current, previous) {