Hide bonus result types from score table for the time being

This commit is contained in:
Dean Herbert 2020-10-09 13:23:18 +09:00
parent 07558b5bc0
commit 389ffe7da5
1 changed files with 5 additions and 0 deletions

View File

@ -110,6 +110,11 @@ private TableColumn[] createHeaders(IReadOnlyList<ScoreInfo> scores)
if (!allScoreStatistics.Contains(result))
continue;
// for the time being ignore bonus result types.
// this is not being sent from the API and will be empty in all cases.
if (result.IsBonus())
continue;
string displayName = ruleset.GetDisplayNameForHitResult(result);
columns.Add(new TableColumn(displayName, Anchor.CentreLeft, new Dimension(GridSizeMode.Distributed, minSize: 35, maxSize: 60)));