Test file list

This commit is contained in:
Bruno Rybársky 2024-04-25 15:05:03 +02:00
parent c3d775efaa
commit ceae8082d6

@ -582,7 +582,11 @@ async function listFiles() {
xhr.onload = function () { xhr.onload = function () {
if (xhr.status === 200) { if (xhr.status === 200) {
displayList(xhr.responseText, "filelist", deleteFile); const resp = JSON.parse(xhr.responseText);
if (resp.Status == "Success") {
displayList(resp['Files'], "filelist", deleteFile);
}
}
} }
}; };