diff --git a/web/src/components/FactionsDataGrid/FactionDetails.tsx b/web/src/components/FactionsDataGrid/FactionDetails.tsx index 6ffea9bc..b1b1441e 100644 --- a/web/src/components/FactionsDataGrid/FactionDetails.tsx +++ b/web/src/components/FactionsDataGrid/FactionDetails.tsx @@ -38,7 +38,7 @@ function getFactionDetailsEntries( props: ManageFactionDialogProps, ): FactionDetailsEntry[] { const name = factionNameRenderMap[props.faction.Name].display - const power = props.faction.Power + const power = Math.round(props.faction.Power) const intel = props.faction.IntelInvested // prettier-ignore diff --git a/web/src/components/FactionsDataGrid/factionsDataGridData.tsx b/web/src/components/FactionsDataGrid/factionsDataGridData.tsx index fc171396..5cc6f2a8 100644 --- a/web/src/components/FactionsDataGrid/factionsDataGridData.tsx +++ b/web/src/components/FactionsDataGrid/factionsDataGridData.tsx @@ -8,7 +8,7 @@ export function getRows(factions: Faction[]): FactionRow[] { return _.map(factions, (faction: Faction) => ({ id: faction.Id, faction: faction.Name, - power: faction.Power, + power: Math.round(faction.Power), intel: faction.IntelInvested, })) }