1
0

fix(kanban): opening a task from the kanban board and then reloading the page should not crash everything when then navigating back

Before this fix, the following would not work:

1. Open the kanban view of a project
2. Click on a task to open it in a modal
3. Reload the page
4. Using your browser's back button, navigate back

Instead of showing the kanban board with the task modal closed, it would
navigate to `/projects/0/kanban` and crash.
This commit is contained in:
kolaente
2023-11-15 23:43:31 +01:00
parent 7e623d919e
commit 75262b716f
4 changed files with 32 additions and 19 deletions

View File

@ -39,7 +39,7 @@
</router-view>
<modal
:enabled="Boolean(currentModal)"
:enabled="typeof currentModal !== 'undefined'"
@close="closeModal()"
variant="scrolling"
class="task-detail-view-modal"