fix displaying correct server name on top players
This commit is contained in:
parent
169105e849
commit
ee14306db9
@ -5,7 +5,7 @@
|
||||
<div class="col-12 col-lg-9 col-xl-10 mt-0">
|
||||
<h2 class="content-title mb-0">Top Players</h2>
|
||||
<span class="text-muted">
|
||||
<color-code value="@(ViewBag.SelectedServerName ?? ViewBag.Localization["WEBFRONT_STATS_INDEX_ALL_SERVERS"])"></color-code>
|
||||
<color-code value="@(Model.FirstOrDefault(m => m.Endpoint == ViewBag.SelectedServerId)?.Name ?? ViewBag.Localization["WEBFRONT_STATS_INDEX_ALL_SERVERS"])"></color-code>
|
||||
</span>
|
||||
|
||||
<div id="topPlayersContainer">
|
||||
|
Loading…
Reference in New Issue
Block a user