use data() for constants instead of a computed property
Signed-off-by: chandi Langecker <git@chandi.it>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user