Skip to content

Commit

Permalink
#9095 Fix Mods page table filters (other than active) (#9096)
Browse files Browse the repository at this point in the history
* fix mods table filters

* pr nit

---------

Co-authored-by: Ben Loe <[email protected]>
  • Loading branch information
BLoe and Ben Loe authored Sep 5, 2024
1 parent 26f53c1 commit a0e8129
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/extensionConsole/pages/mods/ModsPageSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ export const MODS_PAGE_TABS: ModTabsMap = {
personal: {
key: "Personal",
tabTitle: "Personal Mods",
filters: [{ id: "sharing.source.label", value: "Personal" }],
filters: [{ id: "sharingSource.label", value: "Personal" }],
},
public: {
key: "Public",
tabTitle: "Public Mods",
filters: [{ id: "sharing.source.label", value: "Public" }],
filters: [{ id: "sharingSource.label", value: "Public" }],
},
getStarted: {
key: "Get Started",
Expand Down
2 changes: 1 addition & 1 deletion src/extensionConsole/pages/mods/listView/ListView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const ListView: React.VoidFunctionComponent<ModsPageContentProps> = ({
// Re-render the list when expandedRows changes.
useEffect(() => {
listRef.current?.resetAfterIndex(0);
}, [expandedRows]);
}, [expandedRows, listRef]);

return (
<ListGroup {...tableInstance.getTableProps()}>
Expand Down

0 comments on commit a0e8129

Please sign in to comment.