diff --git a/components/content/AiModeB.vue b/components/content/AiModeB.vue index eb7a59a7..f4ff9db3 100644 --- a/components/content/AiModeB.vue +++ b/components/content/AiModeB.vue @@ -11,7 +11,7 @@ if (import.meta.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'); } }