fix: Load archived card if URL is opened directly

Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
Julius Knorr
2024-09-12 15:52:53 +02:00
committed by backportbot[bot]
parent 3fa6123e53
commit 81d081f12d
3 changed files with 27 additions and 2 deletions

View File

@@ -179,8 +179,8 @@ export default new Vuex.Store({
}
})
},
toggleShowArchived(state) {
state.showArchived = !state.showArchived
toggleShowArchived(state, newState = undefined) {
state.showArchived = newState !== undefined ? newState : !state.showArchived
},
/*
* Adds or replaces a board in the store.