diff --git a/SharedProject/Models/SongBestData.cs b/SharedProject/Models/SongBestData.cs index 4872661..fed0613 100644 --- a/SharedProject/Models/SongBestData.cs +++ b/SharedProject/Models/SongBestData.cs @@ -42,8 +42,8 @@ public class SongBestData public uint HitCount { get; set; } public uint DrumrollCount { get; set; } - - public List AiSectionBestData { get; set; } - public bool ShowAiData { get; set; } = false; + public List AiSectionBestData { get; set; } = new(); + + public bool ShowAiData { get; set; } } \ No newline at end of file diff --git a/TaikoWebUI/Pages/HighScores.razor b/TaikoWebUI/Pages/HighScores.razor index 35f47a4..aa54e55 100644 --- a/TaikoWebUI/Pages/HighScores.razor +++ b/TaikoWebUI/Pages/HighScores.razor @@ -29,7 +29,7 @@ Icon="@GetDifficultyIcon(difficulty)"> @if (songBestDataMap.ContainsKey(difficulty)) { - @@ -89,7 +89,11 @@ - @(context.Item.ShowAiData ? "Hide" : "Show") + + @(context.Item.ShowAiData ? "Hide" : "Show") + @@ -101,14 +105,14 @@ @if (context.Item.ShowAiData) { - + AI Battle Data - Section No. @@ -142,7 +146,7 @@ - + }