We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e4b86f + dbb3da1 commit 744bbcfCopy full SHA for 744bbcf
src/components/board/Board.vue
@@ -182,7 +182,7 @@ export default {
182
await this.$store.dispatch('loadBoardById', this.id)
183
await this.$store.dispatch('loadStacks', this.id)
184
185
- const routeCardId = parseInt(this.$route.params.cardId)
+ const routeCardId = this.$route?.params?.cardId ? parseInt(this.$route.params.cardId) : null
186
// If an archived card is requested, and we cannot find it in the current we load the archived stacks instead
187
if (routeCardId && !this.$store.getters.cardById(routeCardId)) {
188
await this.$store.dispatch('loadArchivedStacks', this.id)
0 commit comments