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:
kolaente 2025-09-12 15:45:43 +02:00
parent dbea2ce92a
commit 583623bd6c
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -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') }}