Skip to content

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

chore: fix ui glitch in the grid perspective

Ilian Sapundshievb054d0030adb
diff --git a/app/perspectives/grid-perspective/components/GridPagination.tsx b/app/perspectives/grid-perspective/components/GridPagination.tsx
index 93ddad447..897166b84 100644
--- a/app/perspectives/grid-perspective/components/GridPagination.tsx
+++ b/app/perspectives/grid-perspective/components/GridPagination.tsx
@@ -510,15 +510,13 @@ function GridPagination(props: Props) {
color: theme.palette.text.primary
}}
>
- {(directories.length > 0 || pageFiles.length > 0) && (
- <Typography
- style={{
- fontSize: '0.9rem'
- }}
- >
- {folderSummary}
- </Typography>
- )}
+ <Typography
+ style={{
+ fontSize: '0.9rem'
+ }}
+ >
+ {folderSummary}
+ </Typography>
{!showDescription && descriptionPreview && (
<Tooltip title={i18n.t('core:filePropertiesDescription')}>
<Typography