Skip to content

Commit c6c8bc7

Browse files
committed
Remove rank column from playtime leaderboard
1 parent 0f0ad5d commit c6c8bc7

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

app/Http/Controllers/K4Ranks/RanksController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ public function getPlaytimeList(Request $request)
256256
"name" => !empty($response['response']['players'][0]['personaname']) ? $response['response']['players'][0]['personaname'] : 'Profile',
257257
"player_steamid" => $player->steam_id,
258258
"playtime" => number_format(CarbonInterval::minutes($playerTime['TotalPlaytime'] ?? 0)->totalHours, 2),
259-
"rank" => CommonHelper::getCSRankImage($playerRank['Rank'] ?? 'N/A'),
260259
"kills" => $playerData['Kills'] ?? 0,
261260
"deaths" => $playerData['Deaths'] ?? 0,
262261
"assists" => $playerData['Assists'] ?? 0,

resources/js/ranks/playtime.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ function loadPlayTime() {
2929
}
3030
},
3131
{"data": "playtime"},
32-
{"data": "rank"},
3332
{"data": "kills"},
3433
{"data": "deaths"},
3534
{"data": "assists"},

resources/views/k4Ranks/playtime.blade.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ class="serverSelectLabel form-label">{{ __('admins.selectServers') }}</label>
5151
<th>{{ __('dashboard.position') }}</th>
5252
<th>{{ __('dashboard.player') }}</th>
5353
<th>{{ __('dashboard.playTime') }}</th>
54-
<th>{{ __('dashboard.rank') }}</th>
5554
<th>{{ __('dashboard.kills') }} <i class="fas fa-skull-crossbones"></i></th>
5655
<th>{{ __('dashboard.deaths') }} <i class="fas fa-skull"></i></th>
5756
<th>{{ __('admins.assists') }} <i class="fas fa-hands-helping"></i></th>

0 commit comments

Comments
 (0)