diff --git a/app/MindWork AI Studio/Components/CommonDialogs/WorkspaceSelectionDialog.razor b/app/MindWork AI Studio/Components/CommonDialogs/WorkspaceSelectionDialog.razor index 145ee2c..3c18508 100644 --- a/app/MindWork AI Studio/Components/CommonDialogs/WorkspaceSelectionDialog.razor +++ b/app/MindWork AI Studio/Components/CommonDialogs/WorkspaceSelectionDialog.razor @@ -1,7 +1,7 @@ @this.Message - + @foreach (var (workspaceName, workspaceId) in this.workspaces) { diff --git a/app/MindWork AI Studio/Components/CommonDialogs/WorkspaceSelectionDialog.razor.cs b/app/MindWork AI Studio/Components/CommonDialogs/WorkspaceSelectionDialog.razor.cs index 821d3d6..b958229 100644 --- a/app/MindWork AI Studio/Components/CommonDialogs/WorkspaceSelectionDialog.razor.cs +++ b/app/MindWork AI Studio/Components/CommonDialogs/WorkspaceSelectionDialog.razor.cs @@ -21,7 +21,7 @@ public partial class WorkspaceSelectionDialog : ComponentBase public string ConfirmText { get; set; } = "OK"; private readonly Dictionary workspaces = new(); - private object? selectedWorkspace; + private Guid selectedWorkspace; #region Overrides of ComponentBase @@ -56,5 +56,5 @@ public partial class WorkspaceSelectionDialog : ComponentBase private void Cancel() => this.MudDialog.Cancel(); - private void Confirm() => this.MudDialog.Close(DialogResult.Ok(this.selectedWorkspace is Guid workspaceId ? workspaceId : default)); + private void Confirm() => this.MudDialog.Close(DialogResult.Ok(this.selectedWorkspace)); } \ No newline at end of file diff --git a/app/MindWork AI Studio/wwwroot/changelog/v0.8.5.md b/app/MindWork AI Studio/wwwroot/changelog/v0.8.5.md index 9be70b3..557f177 100644 --- a/app/MindWork AI Studio/wwwroot/changelog/v0.8.5.md +++ b/app/MindWork AI Studio/wwwroot/changelog/v0.8.5.md @@ -7,6 +7,7 @@ - Improved switches: when an option is enabled, the switch is using a different color - Fixed the applying of spellchecking settings to the single-line dialog - Fixed the bug where users cannot delete a self-hosted provider when an API token was never entered +- Fixed the bug where users were no longer able to move chats to workspaces, caused by the migration to MudBlazor 7.x.x - Restructured the layout of the settings page - Refactored the settings data model - Upgraded to Rust 1.80.0