mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-13 11:21:36 +00:00
Removed unused code
This commit is contained in:
parent
6cd845dd9a
commit
2e41dd5b69
@ -1,5 +1,4 @@
|
|||||||
using AIStudio.Dialogs;
|
using AIStudio.Dialogs;
|
||||||
using AIStudio.Tools.PluginSystem;
|
|
||||||
using AIStudio.Tools.Rust;
|
using AIStudio.Tools.Rust;
|
||||||
using AIStudio.Tools.Services;
|
using AIStudio.Tools.Services;
|
||||||
|
|
||||||
@ -11,24 +10,12 @@ using DialogOptions = Dialogs.DialogOptions;
|
|||||||
|
|
||||||
public partial class AttachDocuments : MSGComponentBase
|
public partial class AttachDocuments : MSGComponentBase
|
||||||
{
|
{
|
||||||
private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(ProfileSelection).Namespace, nameof(ProfileSelection));
|
|
||||||
|
|
||||||
[Parameter]
|
[Parameter]
|
||||||
public string Name { get; set; } = string.Empty;
|
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]
|
[Parameter]
|
||||||
public HashSet<string> DocumentPaths { get; set; } = [];
|
public HashSet<string> DocumentPaths { get; set; } = [];
|
||||||
|
|
||||||
private string ToolTipText => this.Disabled ? this.DisabledText : this.defaultToolTipText;
|
|
||||||
|
|
||||||
[Parameter]
|
[Parameter]
|
||||||
public EventCallback<HashSet<string>> DocumentPathsChanged { get; set; }
|
public EventCallback<HashSet<string>> DocumentPathsChanged { get; set; }
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user