mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-12 15:54:52 +09:00
.
This commit is contained in:
1 parent
0d19e0e630
commit
39d60c9960
2 files changed
+2
-13
No files matched your search
@@ -159,12 +159,12 @@ function Elements.player_stats_table.refresh(data_table, player)
|
||||
else
|
||||
value = format_number(value, false)
|
||||
end
|
||||
labels[stat_name].caption = { "readme.data-format", value, metadata.unit or "" }
|
||||
labels[stat_name].caption = { "exp-gui_readme.data-format", value, metadata.unit or "" }
|
||||
end
|
||||
|
||||
-- Update all computed stats
|
||||
for stat_name, data in pairs(computed_stats) do
|
||||
labels[stat_name].caption = { "readme.data-format", data.calculate(player), "" }
|
||||
labels[stat_name].caption = { "exp-gui_readme.data-format", data.calculate(player), "" }
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
|
||||
export default function ScenarioPage() {
|
||||
const account = useAccount();
|
||||
return <PageLayout nav={[{ name: "Scenario Display" }]}>
|
||||
<PageHeader
|
||||
title="Display"
|
||||
extra={account.hasPermission("exp_scenario.gui.vlayer") ? <CreateReportButton /> : undefined}
|
||||
/>
|
||||
<ReportsTable />
|
||||
</PageLayout>;
|
||||
}
|
||||
Reference in new issue
Block a user