mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-21 04:32:56 +00:00
Replace MudTooltip with MudJustifiedText and MudTextSwitch
This commit is contained in:
parent
e43a59975c
commit
da0f54f480
@ -56,9 +56,10 @@
|
|||||||
@T("Use the default system prompt")
|
@T("Use the default system prompt")
|
||||||
</MudButton>
|
</MudButton>
|
||||||
|
|
||||||
<MudTooltip Text="@T("Using some chat templates in tandem with profiles might cause issues. Therefore, you can preliminarily block the usage of profiles here.")">
|
<MudJustifiedText Class="mt-6" Typo="Typo.body1">
|
||||||
<MudSwitch @bind-Value="@this.AllowProfileUsage" Class="mb-3" Color="Color.Primary" Label="@T("Allow the use of profiles together with this chat template?")" ThumbIcon="@Icons.Material.Filled.Person4" ThumbIconColor="Color.Default" />
|
@T("Using some chat templates in tandem with profiles might cause issues. Therefore, you might prohibit the usage of profiles here.")
|
||||||
</MudTooltip>
|
</MudJustifiedText>
|
||||||
|
<MudTextSwitch @bind-Value="@this.AllowProfileUsage" Color="Color.Primary" Label="@T("Allow the use of profiles together with this chat template?")" LabelOn="@T("Yes, allow profiles when using this template")" LabelOff="@T("No, prohibit profile use for this template")" />
|
||||||
|
|
||||||
<MudText Typo="Typo.h6" Class="mb-3 mt-6">
|
<MudText Typo="Typo.h6" Class="mb-3 mt-6">
|
||||||
@T("Example Conversation")
|
@T("Example Conversation")
|
||||||
|
Loading…
Reference in New Issue
Block a user