implemented deletion of project files and dirs

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-10-02 00:42:01 +02:00
parent 326363f162
commit 7284637057
2 changed files with 4 additions and 4 deletions

View File

@@ -73,9 +73,9 @@
async function handleDirectory(res){
let json = await res.json();
if (json.dirs) children.dirs = json.dirs;
if (json.files) children.files = json.files;
if (json.title) children.title = json.title;
children.dirs = json.dirs ? json.dirs : {};
children.files = json.files ? json.files : {};
children.title = json.title ? json.title : {};
delete_allowed = json.delete;
yikes();
}