mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 11:19:48 +00:00
11 lines
680 B
Plaintext
11 lines
680 B
Plaintext
@inherits MSGComponentBase
|
|
<MudTooltip Text="@T("You can switch between your profiles here")" Placement="Placement.Top">
|
|
<MudMenu TransformOrigin="@Origin.BottomLeft" AnchorOrigin="Origin.TopLeft" StartIcon="@Icons.Material.Filled.Person4" EndIcon="@Icons.Material.Filled.KeyboardArrowDown" Label="@this.CurrentProfile.Name" Variant="Variant.Filled" Color="Color.Default" Class="@this.MarginClass">
|
|
@foreach (var profile in this.SettingsManager.ConfigurationData.Profiles.GetAllProfiles())
|
|
{
|
|
<MudMenuItem OnClick="() => this.SelectionChanged(profile)">
|
|
@profile.Name
|
|
</MudMenuItem>
|
|
}
|
|
</MudMenu>
|
|
</MudTooltip> |