Skip to content

Commit

Permalink
isOnInitialModalRoute -> isOnInitialModalRouteValueに修正
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0-star committed Jun 28, 2024
1 parent f1d9d10 commit 4be9022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/composables/useRouteWatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ const useRouteWatcher = () => {
!!history.state?.modalState[0]?.relatedRoute
isOnInitialModalRoute.value = isOnInitialModalRouteValue

if (state.isInitialView && !isOnInitialModalRoute) {
if (state.isInitialView && !isOnInitialModalRouteValue) {
// 初回表示かつモーダルを表示する必要がない状態なので、stateをクリア
clearModalState()
}
Expand Down

0 comments on commit 4be9022

Please sign in to comment.