mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-03-29 17:31:37 +00:00
changed textarea to use static helper for icon resolution
This commit is contained in:
parent
4ef2df0e6b
commit
37a6e66466
@ -120,6 +120,4 @@ internal sealed class AssistantTextArea : StatefulAssistantComponentBase
|
||||
public Adornment GetAdornmentPos() => Enum.TryParse<MudBlazor.Adornment>(this.Adornment, out var position) ? position : MudBlazor.Adornment.Start;
|
||||
|
||||
public Color GetAdornmentColor() => Enum.TryParse<Color>(this.AdornmentColor, out var color) ? color : Color.Default;
|
||||
|
||||
public string GetIconSvg() => MudBlazorIconRegistry.TryGetSvg(this.AdornmentIcon, out var svg) ? svg : string.Empty;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user