Enhance Printers component with session and URL filter/sort persistence
- Added props to the Printers component to enable saving and using filters and sorting in both session and URL, improving user experience and state management consistency.
This commit is contained in:
parent
bc465f7202
commit
f05ed39184
@ -87,6 +87,14 @@ const Printers = () => {
|
|||||||
cards={viewMode === 'cards'}
|
cards={viewMode === 'cards'}
|
||||||
visibleColumns={columnVisibility}
|
visibleColumns={columnVisibility}
|
||||||
expandHeight={true}
|
expandHeight={true}
|
||||||
|
saveFilterInSession={true}
|
||||||
|
saveFilterInUrl={true}
|
||||||
|
useFilterInSession={true}
|
||||||
|
useFilterInUrl={true}
|
||||||
|
saveSortInSession={true}
|
||||||
|
saveSortInUrl={true}
|
||||||
|
useSortInSession={true}
|
||||||
|
useSortInUrl={true}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Modal
|
<Modal
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user