From d5b6ce157ccc689920e5a2ae275c6c403e8c9d4b Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih Date: Fri, 22 Dec 2023 20:07:58 +0900 Subject: [PATCH] fix aimode migration --- components/g/AiChan.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/g/AiChan.vue b/components/g/AiChan.vue index 00fc3b56..7ae22694 100644 --- a/components/g/AiChan.vue +++ b/components/g/AiChan.vue @@ -10,7 +10,7 @@ if (process.client) { isEnabledAiChanMode.value = ((localStorage.getItem('miHub_aichan_mode') ?? '') == 'true'); // migration - if (!isEnabledAiChanMode.value) { + if (!localStorage.getItem('miHub_aichan_mode')) { isEnabledAiChanMode.value = ((localStorage.getItem('aimode') ?? '') == 'true'); } }