Skip to content

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

fix: remove hiding description availability badge on opening the description

Ilian Sapundshievd88b3e8dd63b
diff --git a/src/renderer/components/EntryContainerTabs.tsx b/src/renderer/components/EntryContainerTabs.tsx
index fff79808b..babe57e79 100644
--- a/src/renderer/components/EntryContainerTabs.tsx
+++ b/src/renderer/components/EntryContainerTabs.tsx
@@ -19,8 +19,8 @@
import AppConfig from '-/AppConfig';
import EntryContainerButtons from '-/components/EntryContainerButtons';
import LoadingLazy from '-/components/LoadingLazy';
-import TsTooltip from '-/components/TsTooltip';
import TsTabPanel from '-/components/TsTabPanel';
+import TsTooltip from '-/components/TsTooltip';
import { TabItem, TabNames } from '-/hooks/EntryPropsTabsContextProvider';
import { useChatContext } from '-/hooks/useChatContext';
import { useEntryPropsTabsContext } from '-/hooks/useEntryPropsTabsContext';
@@ -200,7 +200,7 @@ function EntryContainerTabs(props: EntryContainerTabsProps) {
<Badge
color="primary"
variant="dot"
- invisible={!tab.showBadge || selectedTabIndex === index}
+ invisible={!tab.showBadge}
anchorOrigin={{
vertical: 'top',
horizontal: 'right',