mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 04:27:21 +00:00
Upgraded to MudBlazor 9 (#1137)
This commit is contained in:
1 parent
e0337a99bc
commit
aeba1fbccc
625 files changed
+408
-882
No files matched your search
@@ -91,7 +91,7 @@ public partial class WorkspaceNameField : MSGComponentBase
|
||||
// Picking an existing workspace fills the name field. Clearing the select must not wipe a name
|
||||
// the user typed, though, so an empty selection is ignored:
|
||||
//
|
||||
private async Task SelectExistingWorkspace(string workspaceName)
|
||||
private async Task SelectExistingWorkspace(string? workspaceName)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(workspaceName))
|
||||
return;
|
||||
@@ -99,9 +99,9 @@ public partial class WorkspaceNameField : MSGComponentBase
|
||||
await this.SetWorkspaceName(workspaceName);
|
||||
}
|
||||
|
||||
private async Task SetWorkspaceName(string workspaceName)
|
||||
private async Task SetWorkspaceName(string? workspaceName)
|
||||
{
|
||||
this.WorkspaceName = workspaceName;
|
||||
await this.WorkspaceNameChanged.InvokeAsync(workspaceName);
|
||||
this.WorkspaceName = workspaceName ?? string.Empty;
|
||||
await this.WorkspaceNameChanged.InvokeAsync(this.WorkspaceName);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user