From 5cb3455554257040fb751d616e463deb187fd664 Mon Sep 17 00:00:00 2001 From: Nanashi Date: Mon, 15 Apr 2024 23:28:12 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20ui.ts=E3=81=AEstate=E3=81=AE=E5=8F=82?= =?UTF-8?q?=E7=85=A7=E3=82=92=E4=BF=AE=E6=AD=A3=20(#1993)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix: stateの参照を修正 --- src/store/ui.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/store/ui.ts b/src/store/ui.ts index b05630ef71..398994476e 100644 --- a/src/store/ui.ts +++ b/src/store/ui.ts @@ -7,7 +7,6 @@ import { UiStoreTypes, } from "./type"; import { createPartialStore } from "./vuex"; -import { store } from "."; import { ActivePointScrollMode } from "@/type/preload"; import { CommonDialogOptions, @@ -513,12 +512,12 @@ export const uiStore = createPartialStore({ await multiGenerateAndSaveAudioWithDialog({ audioKeys: selectedAudioKeys, dispatch: dispatch, - disableNotifyOnGenerate: store.state.confirmedTips.notifyOnGenerate, + disableNotifyOnGenerate: state.confirmedTips.notifyOnGenerate, }); } else { await generateAndSaveOneAudioWithDialog({ audioKey: activeAudioKey, - disableNotifyOnGenerate: store.state.confirmedTips.notifyOnGenerate, + disableNotifyOnGenerate: state.confirmedTips.notifyOnGenerate, dispatch: dispatch, }); }