diff --git a/app/MindWork AI Studio/Components/AttachDocuments.razor.cs b/app/MindWork AI Studio/Components/AttachDocuments.razor.cs index fc3ded31..2c5de7f6 100644 --- a/app/MindWork AI Studio/Components/AttachDocuments.razor.cs +++ b/app/MindWork AI Studio/Components/AttachDocuments.razor.cs @@ -1,5 +1,4 @@ using AIStudio.Dialogs; -using AIStudio.Tools.PluginSystem; using AIStudio.Tools.Rust; using AIStudio.Tools.Services; @@ -11,24 +10,12 @@ using DialogOptions = Dialogs.DialogOptions; public partial class AttachDocuments : MSGComponentBase { - private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(ProfileSelection).Namespace, nameof(ProfileSelection)); - [Parameter] public string Name { get; set; } = string.Empty; - [Parameter] - public bool Disabled { get; set; } - - [Parameter] - public string DisabledText { get; set; } = string.Empty; - - private readonly string defaultToolTipText = TB("You can edit your files here"); - [Parameter] public HashSet DocumentPaths { get; set; } = []; - private string ToolTipText => this.Disabled ? this.DisabledText : this.defaultToolTipText; - [Parameter] public EventCallback> DocumentPathsChanged { get; set; }