diff --git a/src/components/home/contentAuth.vue b/src/components/home/contentAuth.vue index d98b0fa97..25fd01e73 100644 --- a/src/components/home/contentAuth.vue +++ b/src/components/home/contentAuth.vue @@ -36,9 +36,14 @@ - + - + route.fullPath && window.history.state) + + if (historyState.value) { + router.back() + } else { + const backdropRoute = historyState.value?.backdropView && router.resolve(historyState.value.backdropView) + router.push(backdropRoute) + } + } + + return { routeWithModal, currentModal, closeModal } } -const { routeWithModal, currentModal } = useRouteWithModal() +const { routeWithModal, currentModal, closeModal } = useRouteWithModal() + const store = useStore() diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue index b7bb4083f..c231df67d 100644 --- a/src/components/modal/modal.vue +++ b/src/components/modal/modal.vue @@ -22,6 +22,13 @@ 'is-wide': wide }" > + + + +
@@ -54,6 +61,8 @@ - - - - \ No newline at end of file