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'); } }