mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-03 06:57:36 +01:00
Fix Best and Worst ping formatting on player table
This commit is contained in:
parent
ff7e7791f3
commit
67c487b820
@ -106,9 +106,9 @@ const PlayerTable = ({data, orderBy}) => {
|
|||||||
pingAverage: player.pingAverage,
|
pingAverage: player.pingAverage,
|
||||||
pingAverageFormatted: formatDecimals(player.pingAverage, decimalFormat) + "ms",
|
pingAverageFormatted: formatDecimals(player.pingAverage, decimalFormat) + "ms",
|
||||||
pingMax: player.pingMax,
|
pingMax: player.pingMax,
|
||||||
pingMaxFormatted: player.pingMax + "ms",
|
pingMaxFormatted: formatDecimals(player.pingMax, decimalFormat) + "ms",
|
||||||
pingMin: player.pingMin,
|
pingMin: player.pingMin,
|
||||||
pingMinFormatted: player.pingMin + "ms"
|
pingMinFormatted: formatDecimals(player.pingMin, decimalFormat) + "ms"
|
||||||
};
|
};
|
||||||
data.extensionDescriptors.forEach(descriptor => {
|
data.extensionDescriptors.forEach(descriptor => {
|
||||||
row[descriptor.name] = <ExtensionValueTableCell data={player.extensionValues[descriptor.name]}/>;
|
row[descriptor.name] = <ExtensionValueTableCell data={player.extensionValues[descriptor.name]}/>;
|
||||||
|
Loading…
Reference in New Issue
Block a user