From f7507b0b530cfce25ce1b594a5f1de3af6bb2f8d Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Fri, 14 Nov 2025 11:18:18 +0100 Subject: [PATCH] Show different icon for enterprise profiles --- app/MindWork AI Studio/Components/ProfileSelection.razor | 2 +- .../Components/ProfileSelection.razor.cs | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/MindWork AI Studio/Components/ProfileSelection.razor b/app/MindWork AI Studio/Components/ProfileSelection.razor index 06dd03c7..cab52e9b 100644 --- a/app/MindWork AI Studio/Components/ProfileSelection.razor +++ b/app/MindWork AI Studio/Components/ProfileSelection.razor @@ -19,7 +19,7 @@ @foreach (var profile in this.SettingsManager.ConfigurationData.Profiles.GetAllProfiles()) { - + @profile.Name } diff --git a/app/MindWork AI Studio/Components/ProfileSelection.razor.cs b/app/MindWork AI Studio/Components/ProfileSelection.razor.cs index 85450db3..70747707 100644 --- a/app/MindWork AI Studio/Components/ProfileSelection.razor.cs +++ b/app/MindWork AI Studio/Components/ProfileSelection.razor.cs @@ -38,6 +38,14 @@ public partial class ProfileSelection : MSGComponentBase private string MarginClass => $"{this.MarginLeft} {this.MarginRight}"; + private string ProfileIcon(Profile profile) + { + if (profile.IsEnterpriseConfiguration) + return Icons.Material.Filled.Business; + + return Icons.Material.Filled.Person4; + } + private async Task SelectionChanged(Profile profile) { this.CurrentProfile = profile;