From 4be9022fad7859c465ee08fcd6b373eb1c9a4e25 Mon Sep 17 00:00:00 2001 From: zer0-star Date: Fri, 28 Jun 2024 11:35:47 +0900 Subject: [PATCH] =?UTF-8?q?isOnInitialModalRoute=20->=20isOnInitialModalRo?= =?UTF-8?q?uteValue=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/composables/useRouteWatcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/composables/useRouteWatcher.ts b/src/views/composables/useRouteWatcher.ts index 2d116d180..bd5f713ac 100644 --- a/src/views/composables/useRouteWatcher.ts +++ b/src/views/composables/useRouteWatcher.ts @@ -276,7 +276,7 @@ const useRouteWatcher = () => { !!history.state?.modalState[0]?.relatedRoute isOnInitialModalRoute.value = isOnInitialModalRouteValue - if (state.isInitialView && !isOnInitialModalRoute) { + if (state.isInitialView && !isOnInitialModalRouteValue) { // 初回表示かつモーダルを表示する必要がない状態なので、stateをクリア clearModalState() }