feat: select item on file list after navigating back (#5329)
This commit is contained in:
1 parent
25e47c3ce8
commit
cbeec6d225
13 files changed
+143
-79
No files matched your search
@@ -9,6 +9,7 @@ export const useFileStore = defineStore("file", {
|
||||
selected: number[];
|
||||
multiple: boolean;
|
||||
isFiles: boolean;
|
||||
preselect: string | null;
|
||||
} => ({
|
||||
req: null,
|
||||
oldReq: null,
|
||||
@@ -16,6 +17,7 @@ export const useFileStore = defineStore("file", {
|
||||
selected: [],
|
||||
multiple: false,
|
||||
isFiles: false,
|
||||
preselect: null,
|
||||
}),
|
||||
getters: {
|
||||
selectedCount: (state) => state.selected.length,
|
||||
|
||||
Reference in new issue
Block a user