[sleeplog] Correct deleteBefore function 3

master
Scharf 2023-04-05 17:40:14 +02:00
parent 4b41d30987
commit 1b467cfa99
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ function deleteBefore(dateString) {
total = "" + files.length
files.forEach((file, i) => {
Util.showModal("Deleting file " + ("" + (i + 1)).padStart(total.length) + "/" + total + ": " + file);
Util.eraseStorage(filename, () => { callback(); });
Util.eraseStorage(filename);
})
});
Util.hideModal();