diff --git a/src/components/home/contentAuth.vue b/src/components/home/contentAuth.vue index d98b0fa9..25fd01e7 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 b7bb4083..c231df67 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