Reimplemented the file manager with a cleaner ui, a base path protection from the core and modular and expandable
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
{
|
||||
[CascadingParameter] public Server Server { get; set; }
|
||||
|
||||
private IFileAccess FileAccess;
|
||||
private BaseFileAccess FileAccess;
|
||||
|
||||
private async Task Load(LazyLoader lazyLoader)
|
||||
{
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
i++;
|
||||
|
||||
await ToastService.ModifyProgress("serverReset", $"Reset: Deleting files [{i} / {files.Length}]");
|
||||
await fileAccess.Delete(fileEntry.Name);
|
||||
await fileAccess.Delete(fileEntry);
|
||||
}
|
||||
|
||||
await ToastService.ModifyProgress("serverReset", "Reset: Starting install script");
|
||||
|
||||
Reference in New Issue
Block a user