Skip to content

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

restore showing tags in the compact list mode

Ilian Sapundshiev8549b732d890
diff --git a/app/perspectives/grid-perspective/components/CellContent.tsx b/app/perspectives/grid-perspective/components/CellContent.tsx
index e105bce0b..9968ebb70 100644
--- a/app/perspectives/grid-perspective/components/CellContent.tsx
+++ b/app/perspectives/grid-perspective/components/CellContent.tsx
@@ -257,13 +257,8 @@ const CellContent = (props: Props) => {
<Grid item xs zeroMinWidth>
<Typography style={{ wordBreak: 'break-all' }}>
{extractTitle(fsEntry.name, !fsEntry.isFile)}
- {entrySize === 'small' && tagPlaceholder}
</Typography>
- {entrySize !== 'small'
- ? showTags
- ? fsEntry.tags.map(tag => renderTag(tag))
- : tagPlaceholder
- : null}
+ {showTags ? fsEntry.tags.map(tag => renderTag(tag)) : tagPlaceholder}
{entrySize !== 'small' && (
<Typography
style={{