mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-07-26 04:02:56 +00:00
Fix "send to" menu position after MudBlazor 8 upgrade
This commit is contained in:
parent
dad709cccb
commit
780643779d
app/MindWork AI Studio
@ -73,7 +73,7 @@
|
||||
{
|
||||
@if (this.ShowSendTo)
|
||||
{
|
||||
<MudMenu StartIcon="@Icons.Material.Filled.Apps" EndIcon="@Icons.Material.Filled.KeyboardArrowDown" Label="Send to ..." Variant="Variant.Filled" Style="@this.GetSendToColor()" Class="rounded">
|
||||
<MudMenu AnchorOrigin="Origin.TopLeft" TransformOrigin="Origin.BottomLeft" StartIcon="@Icons.Material.Filled.Apps" EndIcon="@Icons.Material.Filled.KeyboardArrowDown" Label="Send to ..." Variant="Variant.Filled" Style="@this.GetSendToColor()" Class="rounded">
|
||||
@foreach (var assistant in Enum.GetValues<Components>().Where(n => n.AllowSendTo()).OrderBy(n => n.Name().Length))
|
||||
{
|
||||
<MudMenuItem OnClick="() => this.SendToAssistant(assistant, new())">
|
||||
@ -103,7 +103,7 @@
|
||||
break;
|
||||
|
||||
case SendToButton sendToButton:
|
||||
<MudMenu StartIcon="@Icons.Material.Filled.Apps" EndIcon="@Icons.Material.Filled.KeyboardArrowDown" Label="Send to ..." Variant="Variant.Filled" Style="@this.GetSendToColor()" Class="rounded">
|
||||
<MudMenu AnchorOrigin="Origin.TopLeft" TransformOrigin="Origin.BottomLeft" StartIcon="@Icons.Material.Filled.Apps" EndIcon="@Icons.Material.Filled.KeyboardArrowDown" Label="Send to ..." Variant="Variant.Filled" Style="@this.GetSendToColor()" Class="rounded">
|
||||
@foreach (var assistant in Enum.GetValues<Components>().Where(n => n.AllowSendTo()).OrderBy(n => n.Name().Length))
|
||||
{
|
||||
<MudMenuItem OnClick="() => this.SendToAssistant(assistant, sendToButton)">
|
||||
|
@ -1,4 +1,5 @@
|
||||
# v0.9.37, build 212 (2025-03-16 xx:xx UTC)
|
||||
- Improved the experience of the data selection component when no data sources are configured yet.
|
||||
- Improved the data source selection behavior when no data source is available or selected, for whatever reason.
|
||||
- Moved the data source settings into the data selection component.
|
||||
- Moved the data source settings into the data selection component.
|
||||
- Fixed the "send to" menu position, which was offset due to the MudBlazor 8 upgrade.
|
Loading…
Reference in New Issue
Block a user