From 13ab970002a6ddde93d8047441ed4abe84b6b8c7 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Wed, 28 Jan 2026 10:04:22 +0100 Subject: [PATCH] Allow disabling the profile selection --- .../Components/ProfileFormSelection.razor | 6 +++--- .../Components/ProfileFormSelection.razor.cs | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/MindWork AI Studio/Components/ProfileFormSelection.razor b/app/MindWork AI Studio/Components/ProfileFormSelection.razor index f963ced7..cd063d41 100644 --- a/app/MindWork AI Studio/Components/ProfileFormSelection.razor +++ b/app/MindWork AI Studio/Components/ProfileFormSelection.razor @@ -2,7 +2,7 @@ @inherits MSGComponentBase - + @foreach (var profile in this.SettingsManager.ConfigurationData.Profiles.GetAllProfiles()) { @@ -11,5 +11,5 @@ } - - \ No newline at end of file + + diff --git a/app/MindWork AI Studio/Components/ProfileFormSelection.razor.cs b/app/MindWork AI Studio/Components/ProfileFormSelection.razor.cs index ec71737e..3dc80979 100644 --- a/app/MindWork AI Studio/Components/ProfileFormSelection.razor.cs +++ b/app/MindWork AI Studio/Components/ProfileFormSelection.razor.cs @@ -17,6 +17,9 @@ public partial class ProfileFormSelection : MSGComponentBase [Parameter] public Func Validation { get; set; } = _ => null; + + [Parameter] + public bool Disabled { get; set; } [Inject] public IDialogService DialogService { get; init; } = null!;