Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: fix the name of the ai tab

Ilian Sapundshiev3601189c220f
diff --git a/src/renderer/hooks/EntryPropsTabsContextProvider.tsx b/src/renderer/hooks/EntryPropsTabsContextProvider.tsx
index 8f493173e..7aff64811 100644
--- a/src/renderer/hooks/EntryPropsTabsContextProvider.tsx
+++ b/src/renderer/hooks/EntryPropsTabsContextProvider.tsx
@@ -149,7 +149,7 @@ export const EntryPropsTabsContextProvider = ({
if ((oEntry && !oEntry.isFile) || (devMode && Pro)) {
const tab4: TabItem = {
icon: <AIIcon />,
- title: t('core:aiChatTab'),
+ title: oEntry.isFile ? t('core:aiSettingsTab') : t('core:aiChatTab'),
name: TabNames.aiTab,
};
tabsArray.push(tab4);