mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 12:56:24 -05:00
Storing opened folders in URL to preserve opened folders after tagging.
This commit is contained in:
parent
d9a737d46b
commit
4e85e2f3d7
4 changed files with 55 additions and 42 deletions
|
|
@ -107,7 +107,7 @@ export function FileBrowser() {
|
|||
|
||||
useEffect(() => {
|
||||
// Fetch files after tagging.
|
||||
setCallbacks([fetchFiles]);
|
||||
setCallbacks([() => fetchFiles(openFolders)]);
|
||||
|
||||
return () => setCallbacks(null);
|
||||
}, []);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue