Skip to content

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

TSN896 - Theme switching issues

sytolk06af15e85d0f
diff --git a/app/perspectives/grid-perspective/components/GridPagination.tsx b/app/perspectives/grid-perspective/components/GridPagination.tsx
index 88edd5c2e..42bf0c52a 100644
--- a/app/perspectives/grid-perspective/components/GridPagination.tsx
+++ b/app/perspectives/grid-perspective/components/GridPagination.tsx
@@ -399,6 +399,7 @@ function mapActionCreatorsToProps(dispatch) {
const areEqual = (prevProp: Props, nextProp: Props) =>
nextProp.isMetaLoaded === prevProp.isMetaLoaded &&
+ nextProp.theme === prevProp.theme &&
JSON.stringify(nextProp.files) === JSON.stringify(prevProp.files) &&
JSON.stringify(nextProp.directories) ===
JSON.stringify(prevProp.directories) &&