fix(task): go back to project or saved filter, depending on where the user came from
Resolves https://github.com/go-vikunja/vikunja/issues/1492
This commit is contained in:
parent
dbea2ce92a
commit
583623bd6c
|
|
@ -14,7 +14,7 @@
|
|||
<BaseButton
|
||||
v-if="!isModal || isMobile"
|
||||
class="back-button mbs-2"
|
||||
:to="projectRoute"
|
||||
@click="router.options.history.state?.back?.includes('/projects/') ? router.back() : router.push(projectRoute)"
|
||||
>
|
||||
<Icon icon="arrow-left" />
|
||||
{{ $t('task.detail.back') }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue