fix linting issues

Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
This commit is contained in:
grnd-alt
2024-01-18 09:48:22 +01:00
parent 09a9da3cf8
commit a32755c460
3 changed files with 7 additions and 9 deletions

View File

@@ -33,12 +33,10 @@ export default {
getters: {
cardsByStack: (state, getters, rootState) => (id) => {
return state.cards.filter((card) => {
const { tags, users, due, unassigned,open, done } = rootState.filter
const { tags, users, due, unassigned, open, done } = rootState.filter
if (open && card.done !== null)
return false;
if (done && card.done == null)
return false;
if (open && card.done !== null) { return false }
if (done && card.done == null) { return false }
let allTagsMatch = true
let allUsersMatch = true