TagSpaces is an offline, open source, document manager with tagging support
fix: show file and folder count only if greater 0
Ilian Sapundshievb0237962b900
diff --git a/app/perspectives/grid-perspective/components/GridPagination.tsx b/app/perspectives/grid-perspective/components/GridPagination.tsxindex d8bb64d10..09a6e3a5c 100644--- a/app/perspectives/grid-perspective/components/GridPagination.tsx+++ b/app/perspectives/grid-perspective/components/GridPagination.tsx@@ -161,7 +161,7 @@ const GridPagination = (props: Props) => {</div>)}</div>- {showPagination ? (+ {showPagination && (<Tooltiptitle={directories.length +@@ -187,7 +187,8 @@ const GridPagination = (props: Props) => {onChange={handleChange}/></Tooltip>- ) : (+ )}+ {!showPagination && (directories.length > 0 || files.length > 0) && (<div style={{ padding: 15, bottom: 10 }}><Typographystyle={{