add button to delete junk files

This commit is contained in:
marlon-erler
2024-07-28 16:08:29 +02:00
parent 02374a52be
commit 3274d12337
5 changed files with 50 additions and 9 deletions
+5
View File
@@ -38,6 +38,11 @@ export default class StorageViewModel {
this.didMakeChanges.value = true;
};
removeJunk = (): void => {
this.storageModel.removeJunk();
this.selectedPath.value = PATH_COMPONENT_SEPARATOR;
};
// view
showStorageModal = (): void => {
this.isShowingStorageModal.value = true;