feat: show summarize only for private note

This commit is contained in:
Shivam Mishra
2025-12-15 20:10:01 +05:30
parent ba3e647ebe
commit 1f1c700e1e
@@ -108,18 +108,19 @@ const generalMenuItems = computed(() => {
});
}
items.push(
{
if (replyMode.value === REPLY_EDITOR_MODES.NOTE) {
items.push({
label: t('INTEGRATION_SETTINGS.OPEN_AI.REPLY_OPTIONS.SUMMARIZE'),
key: 'summarize',
icon: 'i-fluent-text-bullet-list-square-sparkle-32-regular',
},
{
label: t('INTEGRATION_SETTINGS.OPEN_AI.REPLY_OPTIONS.ASK_COPILOT'),
key: 'ask_copilot',
icon: 'i-fluent-circle-sparkle-24-regular',
}
);
});
}
items.push({
label: t('INTEGRATION_SETTINGS.OPEN_AI.REPLY_OPTIONS.ASK_COPILOT'),
key: 'ask_copilot',
icon: 'i-fluent-circle-sparkle-24-regular',
});
return items;
});