'Task Detail' page tries to render non-existent tasks #3332
Labels
No Label
area/internal-code
changes requested
dependencies
duplicate
good first issue
help wanted
hosting
invalid
kind/bug
kind/feature
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/frontend#3332
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Description
63653
Expected result
Actual result
See Screenshot below
Vikunja Frontend Version
0.20.5+115-739fe0caa1
Vikunja API Version
v0.20.4+40-5114f53307
Browser and version
Brave is up to date Version 1.49.132 Chromium: 111.0.5563.147 (Official Build) (x86_64)
Can you reproduce the bug on the Vikunja demo site?
Yes
Screenshots
I had a stab at this and while it's quite easy to catch a 404 response from the api and replace the currently active view with a 404 that will reset the route to the base url again, which looks kind of confusing. The solution I could think of would be to compute the current view in the
App.vue
component and then store a flag in pina to show the 404 component when it is set. That sounds pretty hacky to me though, there's got to be another way?Here's what I tried so far: