Skip to content

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

fix: making tags in folder description read-only

Ilian Sapundshiev48613120d2be
diff --git a/app/perspectives/grid-perspective/components/GridPagination.tsx b/app/perspectives/grid-perspective/components/GridPagination.tsx
index 5f47eebe3..2a792aa2f 100644
--- a/app/perspectives/grid-perspective/components/GridPagination.tsx
+++ b/app/perspectives/grid-perspective/components/GridPagination.tsx
@@ -460,7 +460,13 @@ function GridPagination(props: Props) {
<span style={{ paddingLeft: 5 }}>
{currentDirectoryTags &&
currentDirectoryTags.map((tag: TS.Tag) => {
- return <TagContainer tag={tag} tagMode="display" />;
+ return (
+ <TagContainer
+ isReadOnlyMode
+ tag={tag}
+ tagMode="display"
+ />
+ );
})}
</span>
) : (