diff --git a/WebfrontCore/Views/Server/_Scoreboard.cshtml b/WebfrontCore/Views/Server/_Scoreboard.cshtml index 50c2f0f9f..ceaecbba5 100644 --- a/WebfrontCore/Views/Server/_Scoreboard.cshtml +++ b/WebfrontCore/Views/Server/_Scoreboard.cshtml @@ -13,9 +13,9 @@ string GetColumnSortDisplay(string propertyName) { - if (propertyName == Model.OrderByKey) + if (propertyName == (Model.OrderByKey ?? nameof(ClientScoreboardInfo.Score))) { - return Model.ShouldOrderDescending ? "" : ""; + return Model.ShouldOrderDescending ? "▼" : "▲"; } return null; @@ -23,7 +23,7 @@ }
@ViewBag.Localization["WEBFRONT_SCOREBOARD_TABLE_PLAYER"]@Html.Raw(GetColumnSortDisplay(nameof(ClientScoreboardInfo.ClientName))) |
---|