mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-22 14:25:47 +00:00
refactor(FE): Add table state management with path grouping logic
This commit is contained in:
Vendored
+8
@@ -28,9 +28,17 @@ type DrawerUISlice = {
|
||||
};
|
||||
|
||||
type TableUISlice = {
|
||||
// State
|
||||
key: string;
|
||||
path: string;
|
||||
searchValue: string;
|
||||
previousPath: string | null;
|
||||
|
||||
// Actions
|
||||
setSearchValue: (value: string) => void;
|
||||
resetSearchValue: () => void;
|
||||
setTableState: (key: string, path: string, searchValue?: string) => void;
|
||||
resetTableState: () => void;
|
||||
};
|
||||
|
||||
// Navbar Actions Slice
|
||||
|
||||
Reference in New Issue
Block a user