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 },
|
filter: { tags: [], users: [], due: '', unassigned: false },
|
||||||
showAddCardModal: false,
|
showAddCardModal: false,
|
||||||
defaultPageTitle: false,
|
defaultPageTitle: false,
|
||||||
|
isNotifyPushEnabled: isNotifyPushEnabled(),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -291,9 +292,6 @@ export default {
|
|||||||
labelsSorted() {
|
labelsSorted() {
|
||||||
return [...this.board.labels].sort((a, b) => (a.title < b.title) ? -1 : 1)
|
return [...this.board.labels].sort((a, b) => (a.title < b.title) ? -1 : 1)
|
||||||
},
|
},
|
||||||
isNotifyPushEnabled() {
|
|
||||||
return isNotifyPushEnabled()
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
board(current, previous) {
|
board(current, previous) {
|
||||||
|
|||||||
Reference in New Issue
Block a user