Code cleanup
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using RpgRoller.Contracts;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace RpgRoller.Components.Pages.HomeControls;
|
||||
|
||||
@@ -9,25 +9,25 @@ public partial class CampaignLogPanel
|
||||
{
|
||||
[Parameter]
|
||||
public bool IsCampaignDataLoading { get; set; }
|
||||
|
||||
|
||||
[Parameter]
|
||||
public IReadOnlyList<CampaignLogEntry> CampaignLog { get; set; } = [];
|
||||
|
||||
|
||||
[Parameter]
|
||||
public Func<CampaignLogEntry, string> RollerLabel { get; set; } = _ => string.Empty;
|
||||
|
||||
|
||||
[Parameter]
|
||||
public Func<Guid, string> SkillLabel { get; set; } = _ => string.Empty;
|
||||
|
||||
|
||||
[Parameter]
|
||||
public Func<Guid, string> CharacterLabel { get; set; } = _ => string.Empty;
|
||||
|
||||
|
||||
[Parameter]
|
||||
public Func<CampaignLogEntry, string> LogEntryCssClass { get; set; } = _ => string.Empty;
|
||||
|
||||
|
||||
[Parameter]
|
||||
public Func<CampaignLogEntry, string> VisibilityLabel { get; set; } = _ => string.Empty;
|
||||
|
||||
|
||||
[Parameter]
|
||||
public Func<CampaignLogEntry, string> VisibilityBadgeCssClass { get; set; } = _ => string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user