condition fixed
This commit is contained in:
parent
a4a0dbdb21
commit
fc250b9529
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue