mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 20:59:56 -05:00
A Channel can be tagged with a single Tag. The Channel can be moved into a Tag Directory according to the config.
This commit is contained in:
parent
2b8ef79561
commit
45167e4f32
39 changed files with 691 additions and 165 deletions
|
|
@ -734,6 +734,10 @@ export const useDirectories = (defaultDirectory) => {
|
|||
fetchDirectories();
|
||||
}, [directory, defaultDirectory]);
|
||||
|
||||
useEffect(() => {
|
||||
setDirectory(defaultDirectory);
|
||||
}, [defaultDirectory])
|
||||
|
||||
return {directory, directories, setDirectory, exists, isDir, isFile};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue