implemented deletion of project files and dirs
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user