fix(task): set project after loading task details
Resolves https://github.com/go-vikunja/vikunja/issues/1342
This commit is contained in:
parent
1047e62978
commit
7ef7163bfe
|
|
@ -743,6 +743,10 @@ watch(
|
|||
attachmentStore.set(task.value.attachments)
|
||||
taskColor.value = task.value.hexColor
|
||||
setActiveFields()
|
||||
|
||||
if (project.value) {
|
||||
await baseStore.handleSetCurrentProject({project: project.value})
|
||||
}
|
||||
} catch (e) {
|
||||
if (e?.response?.status === 404) {
|
||||
router.replace({name: 'not-found'})
|
||||
|
|
|
|||
Loading…
Reference in New Issue