diff --git a/app/MindWork AI Studio/Components/ConfigInfoRow.razor b/app/MindWork AI Studio/Components/ConfigInfoRow.razor
index 349d407f..829f7ba5 100644
--- a/app/MindWork AI Studio/Components/ConfigInfoRow.razor
+++ b/app/MindWork AI Studio/Components/ConfigInfoRow.razor
@@ -1,10 +1,10 @@
-
-
+
+
- @this.Text
+ @this.Item.Text
- @if (!string.IsNullOrWhiteSpace(this.CopyValue))
+ @if (!string.IsNullOrWhiteSpace(this.Item.CopyValue))
{
-
+
}
-
\ No newline at end of file
+
diff --git a/app/MindWork AI Studio/Components/ConfigInfoRow.razor.cs b/app/MindWork AI Studio/Components/ConfigInfoRow.razor.cs
index 3c702dd6..0a2de099 100644
--- a/app/MindWork AI Studio/Components/ConfigInfoRow.razor.cs
+++ b/app/MindWork AI Studio/Components/ConfigInfoRow.razor.cs
@@ -5,17 +5,5 @@ namespace AIStudio.Components;
public partial class ConfigInfoRow : ComponentBase
{
[Parameter]
- public string Icon { get; set; } = Icons.Material.Filled.ArrowRightAlt;
-
- [Parameter]
- public string Text { get; set; } = string.Empty;
-
- [Parameter]
- public string CopyValue { get; set; } = string.Empty;
-
- [Parameter]
- public string CopyTooltip { get; set; } = string.Empty;
-
- [Parameter]
- public string Style { get; set; } = string.Empty;
+ public ConfigInfoRowItem Item { get; set; } = new(Icons.Material.Filled.ArrowRightAlt, string.Empty, string.Empty, string.Empty, string.Empty);
}
\ No newline at end of file
diff --git a/app/MindWork AI Studio/Components/ConfigInfoRowItem.cs b/app/MindWork AI Studio/Components/ConfigInfoRowItem.cs
new file mode 100644
index 00000000..ab700c53
--- /dev/null
+++ b/app/MindWork AI Studio/Components/ConfigInfoRowItem.cs
@@ -0,0 +1,9 @@
+namespace AIStudio.Components;
+
+public sealed record ConfigInfoRowItem(
+ string Icon,
+ string Text,
+ string CopyValue,
+ string CopyTooltip,
+ string Style = ""
+);
\ No newline at end of file
diff --git a/app/MindWork AI Studio/Components/ConfigPluginInfoCard.razor b/app/MindWork AI Studio/Components/ConfigPluginInfoCard.razor
index c672b66a..4a3c8106 100644
--- a/app/MindWork AI Studio/Components/ConfigPluginInfoCard.razor
+++ b/app/MindWork AI Studio/Components/ConfigPluginInfoCard.razor
@@ -8,11 +8,7 @@
@foreach (var item in this.Items)
{
-
+
}
@if (this.ShowWarning)
@@ -22,4 +18,4 @@
@this.WarningText
}
-
\ No newline at end of file
+
diff --git a/app/MindWork AI Studio/Components/ConfigPluginInfoCard.razor.cs b/app/MindWork AI Studio/Components/ConfigPluginInfoCard.razor.cs
index 974c98f4..2fc224be 100644
--- a/app/MindWork AI Studio/Components/ConfigPluginInfoCard.razor.cs
+++ b/app/MindWork AI Studio/Components/ConfigPluginInfoCard.razor.cs
@@ -22,11 +22,3 @@ public partial class ConfigPluginInfoCard : ComponentBase
[Parameter]
public string Class { get; set; } = "pa-3 mt-2 mb-2";
}
-
-public sealed record ConfigInfoRowItem(
- string Icon,
- string Text,
- string CopyValue = "",
- string CopyTooltip = "",
- string Style = ""
-);
\ No newline at end of file
diff --git a/app/MindWork AI Studio/Pages/Information.razor b/app/MindWork AI Studio/Pages/Information.razor
index e2848589..435a6a56 100644
--- a/app/MindWork AI Studio/Pages/Information.razor
+++ b/app/MindWork AI Studio/Pages/Information.razor
@@ -66,14 +66,14 @@
{
+ ])"/>
}
+
@@ -89,19 +89,20 @@
{
+ ])"/>
}
+
@@ -129,42 +130,45 @@
{
+ ])"/>
continue;
}
+
}
+