Skip to content

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

chore: adding new common icons

Ilian Sapundshiev12792454f7fd
diff --git a/app/components/CommonIcons.tsx b/app/components/CommonIcons.tsx
index 4b425fd3a..73f515a3d 100644
--- a/app/components/CommonIcons.tsx
+++ b/app/components/CommonIcons.tsx
@@ -28,12 +28,21 @@ import AddIcon from '@mui/icons-material/Add';
import Suitcase from '@mui/icons-material/WorkOutline';
import Link from '@mui/icons-material/Link';
import KeyShortcuts from '@mui/icons-material/Keyboard';
+import Reorder from '@mui/icons-material/Reorder';
+import ArrowBack from '@mui/icons-material/ArrowBack';
+import ArrowForward from '@mui/icons-material/ArrowForward';
export const ParentFolderIcon = props => (
// <ParentDirIcon style={{ transform: 'rotate(-90deg)' }} /> SubdirectoryArrowLeft
<ParentFolder {...props} />
);
+export const MainMenuIcon = props => <Reorder {...props} />;
+
+export const GoBackIcon = props => <ArrowBack {...props} />;
+
+export const GoForwardIcon = props => <ArrowForward {...props} />;
+
export const HelpIcon = props => <Help {...props} />;
export const InfoIcon = props => <AnnouncementIcon {...props} />;
diff --git a/app/perspectives/grid-perspective/components/GridPagination.tsx b/app/perspectives/grid-perspective/components/GridPagination.tsx
index 965da000b..8267561b8 100644
--- a/app/perspectives/grid-perspective/components/GridPagination.tsx
+++ b/app/perspectives/grid-perspective/components/GridPagination.tsx
@@ -724,7 +724,8 @@ const areEqual = (prevProp: Props, nextProp: Props) =>
nextProp.thumbnailMode === prevProp.thumbnailMode &&
nextProp.entrySize === prevProp.entrySize &&
nextProp.gridPageLimit === prevProp.gridPageLimit &&
- nextProp.currentDirectoryDescription === prevProp.currentDirectoryDescription &&
+ nextProp.currentDirectoryDescription ===
+ prevProp.currentDirectoryDescription &&
JSON.stringify(nextProp.files) === JSON.stringify(prevProp.files) &&
JSON.stringify(nextProp.directories) ===
JSON.stringify(prevProp.directories) &&