[frontend/components] Use correct callback for RenameFolder
This commit is contained in:
parent
b5788ccaf4
commit
957e84eab7
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@
|
|||
private async Task RenameFolder()
|
||||
{
|
||||
if (Folder is not { Id: not null, Name: not null }) return;
|
||||
await Global.PromptDialog?.Prompt(new EventCallback<string?>(this, RenameFileCallback), Loc["Rename folder"], Loc["Folder name"], Folder!.Name, buttonText: Loc["Rename"])!;
|
||||
await Global.PromptDialog?.Prompt(new EventCallback<string?>(this, RenameFolderCallback), Loc["Rename folder"], Loc["Folder name"], Folder!.Name, buttonText: Loc["Rename"])!;
|
||||
}
|
||||
|
||||
private async Task RenameFolderCallback(string? name)
|
||||
|
|
Loading…
Add table
Reference in a new issue