1
0

chore: rename getRedirectRoute

This commit is contained in:
kolaente
2023-04-01 14:12:47 +02:00
parent f68bb2625e
commit 59b05e9836
2 changed files with 5 additions and 5 deletions

View File

@ -47,7 +47,7 @@ import {useRedirectToLastVisited} from '@/composables/useRedirectToLastVisited'
const {t} = useI18n({useScope: 'global'})
useTitle(t('sharing.authenticating'))
const {getRedirectRoute} = useRedirectToLastVisited()
const {getLastVisitedRoute} = useRedirectToLastVisited()
function useAuth() {
const baseStore = useBaseStore()
@ -92,7 +92,7 @@ function useAuth() {
const hash = linkShareHashPrefix + route.params.share
const last = getRedirectRoute()
const last = getLastVisitedRoute()
if (last) {
router.push({
...last,