mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Creating FilePreview for FileBrowser.
This commit is contained in:
parent
69e673e0b8
commit
a2e1cfb0eb
4 changed files with 130 additions and 56 deletions
|
|
@ -520,6 +520,7 @@ export async function refreshDirectoryFiles(directory) {
|
|||
}
|
||||
|
||||
export async function getFiles(directories) {
|
||||
console.debug(`getFiles ${directories}`);
|
||||
let body = {directories: directories || []};
|
||||
let response = await apiPost(`${API_URI}/files`, body);
|
||||
let {files} = await response.json();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue