Skip to content

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

fix: issue loading dir without .ts folder

Ilian Sapundshiev2f6c4999fab1
diff --git a/src/renderer/perspectives/grid-perspective/components/GridPagination.tsx b/src/renderer/perspectives/grid-perspective/components/GridPagination.tsx
index 1c16669b3..5b9ee624f 100644
--- a/src/renderer/perspectives/grid-perspective/components/GridPagination.tsx
+++ b/src/renderer/perspectives/grid-perspective/components/GridPagination.tsx
@@ -334,7 +334,7 @@ function GridPagination(props: Props) {
</div>
</Grid>
)}
- {showDescription && directoryMeta.description && (
+ {showDescription && directoryMeta && directoryMeta.description && (
<Grid
item
xs={12}