From fc250b9529ad1cdbd24d575a18dd5a5c15d4d465 Mon Sep 17 00:00:00 2001 From: mic Date: Sun, 12 Jan 2025 22:46:08 +0100 Subject: [PATCH] condition fixed --- mzta-background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mzta-background.js b/mzta-background.js index 7904c130..4db6daab 100644 --- a/mzta-background.js +++ b/mzta-background.js @@ -618,7 +618,7 @@ function setupStorageChangeListener() { if (changes.connection_type) { const newConnectionType = changes.connection_type.newValue; doGetCalendarEvent(prefs_init.get_calendar_event).then(calendarEvent => { - const special_prompts_ids = getActiveSpecialPromptsIDs(prefs_init.add_tags, calendarEvent, (newConnectionType !== "chatgpt_web")); + const special_prompts_ids = getActiveSpecialPromptsIDs(prefs_init.add_tags, calendarEvent, (newConnectionType === "chatgpt_web")); menus.reload(special_prompts_ids); }); }