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