Fixed text in UI
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<Columns>
|
<Columns>
|
||||||
<RadzenDataGridColumn Property="@nameof(PluginModel.Name)" Title="Plugin Name"/>
|
<RadzenDataGridColumn Property="@nameof(PluginModel.Name)" Title="Plugin Name"/>
|
||||||
<RadzenDataGridColumn Property="@nameof(PluginModel.Author)" Title="Author"/>
|
<RadzenDataGridColumn Property="@nameof(PluginModel.Author)" Title="Author"/>
|
||||||
<RadzenDataGridColumn Property="@nameof(PluginModel.Description)" Title="Version"/>
|
<RadzenDataGridColumn Property="@nameof(PluginModel.Description)" Title="Description"/>
|
||||||
<RadzenDataGridColumn Title="Download">
|
<RadzenDataGridColumn Title="Download">
|
||||||
<Template Context="item">
|
<Template Context="item">
|
||||||
<RadzenButton Click="() => OnPluginDownloadClick!(item.Name)" Text="Install"/>
|
<RadzenButton Click="() => OnPluginDownloadClick!(item.Name)" Text="Install"/>
|
||||||
|
|||||||
@@ -4,8 +4,13 @@ namespace DiscordBotWebUI.Models;
|
|||||||
|
|
||||||
public class PluginModel
|
public class PluginModel
|
||||||
{
|
{
|
||||||
|
[JsonPropertyName("PluginName")]
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
[JsonPropertyName("PluginAuthor")]
|
||||||
public string Author { get; set; }
|
public string Author { get; set; }
|
||||||
|
|
||||||
|
[JsonPropertyName("PluginDescription")]
|
||||||
public string Description { get; set; }
|
public string Description { get; set; }
|
||||||
|
|
||||||
[JsonConstructor]
|
[JsonConstructor]
|
||||||
|
|||||||
Reference in New Issue
Block a user