diff --git a/build/icon.png b/build/icon.png index 865a96a2..431de95a 100644 Binary files a/build/icon.png and b/build/icon.png differ diff --git a/package.json b/package.json index 33f05e2b..abfaf6b7 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,6 @@ "react-loading-skeleton": "^3.4.0", "react-redux": "^9.1.1", "react-router-dom": "^6.22.3", - "react-virtualized": "^9.22.5", "sound-play": "^1.1.0", "sudo-prompt": "^9.2.1", "tar": "^7.4.3", diff --git a/resources/tray-icon.png b/resources/tray-icon.png index 9254a8fb..ee90c026 100644 Binary files a/resources/tray-icon.png and b/resources/tray-icon.png differ diff --git a/src/renderer/src/pages/catalogue/catalogue.tsx b/src/renderer/src/pages/catalogue/catalogue.tsx index b6d735e1..da507dbc 100644 --- a/src/renderer/src/pages/catalogue/catalogue.tsx +++ b/src/renderer/src/pages/catalogue/catalogue.tsx @@ -114,7 +114,7 @@ export default function Catalogue() { .sort(([keyA], [keyB]) => keyA.localeCompare(keyB)) .map(([key, value]) => ({ label: key, - value: value.toString(), + value: value, checked: filters.tags.includes(value), })); }, [steamUserTags, filters.tags, language]); diff --git a/src/renderer/src/pages/catalogue/filter-section.tsx b/src/renderer/src/pages/catalogue/filter-section.tsx index 4039ab59..2e238f81 100644 --- a/src/renderer/src/pages/catalogue/filter-section.tsx +++ b/src/renderer/src/pages/catalogue/filter-section.tsx @@ -8,10 +8,10 @@ export interface FilterSectionProps { title: string; items: { label: string; - value: string; + value: string | number; checked: boolean; }[]; - onSelect: (value: string) => void; + onSelect: (value: string | number) => void; color: string; onClear: () => void; } diff --git a/src/renderer/src/pages/catalogue/pagination.tsx b/src/renderer/src/pages/catalogue/pagination.tsx index 05ac8c4d..c2e510b2 100644 --- a/src/renderer/src/pages/catalogue/pagination.tsx +++ b/src/renderer/src/pages/catalogue/pagination.tsx @@ -38,22 +38,24 @@ export function Pagination({ -
- ... -
+ {page > 2 && ( +
+ ... +
+ )} {/* Page Buttons */} {Array.from( @@ -63,17 +65,31 @@ export function Pagination({ ))} + {page < totalPages - 1 && ( +
+ ... +
+ )} + {/* Next Button */}