Add filter and sort persistence to Users component
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced new props to the Users component to enable saving and using filters and sorting in both session and URL. - This enhancement improves user experience by maintaining filter and sort states across sessions, aligning with recent updates across other dashboard components.
This commit is contained in:
parent
1efebeeda6
commit
6ea5f2848a
@ -67,6 +67,15 @@ const Users = () => {
|
||||
visibleColumns={columnVisibility}
|
||||
cards={viewMode === 'cards'}
|
||||
showFilterSidebar={showFilterSidebar}
|
||||
expandHeight={true}
|
||||
saveFilterInSession={true}
|
||||
saveFilterInUrl={true}
|
||||
useFilterInSession={true}
|
||||
useFilterInUrl={true}
|
||||
saveSortInSession={true}
|
||||
saveSortInUrl={true}
|
||||
useSortInSession={true}
|
||||
useSortInUrl={true}
|
||||
/>
|
||||
</Flex>
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user