removed version bump, fixed reloading files after erasure

master
Tom Wallroth 2024-04-19 13:48:58 +02:00
parent 53118c2825
commit 161d965658
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
0.01: New app!
0.02: Improve handling of large amounts of files (fix #579)
0.03: Update RegExp use (Was using backreference instead of character code)
0.04: Allow managing files in the app loader

View File

@ -60,9 +60,10 @@
},
deleteFile: function (file) {
if(confirm(`Really delete ${file}?`)) {
Puck.eval(`require("Storage").erase("${file}")`);
this.loadFiles();
this.getStats();
Puck.eval(`require("Storage").erase("${file}")`, () => {
this.loadFiles();
this.getStats();
});
}
},
showFile: function (file) {