Skip to content

Commit 25c68ff

Browse files
committed
fix: hide total info
1 parent 224f3b8 commit 25c68ff

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

public/locales/en/translation.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1143,5 +1143,6 @@
11431143
"DME earned": "DME earned",
11441144
"Total upgrades": "Total upgrades",
11451145
"Total fails": "Total fails",
1146-
"Total DME earned": "Total DME earned"
1146+
"Total DME earned": "Total DME earned",
1147+
"My stat": "My stat"
11471148
}

src/pages/engineer/stat/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const EngineerStatPage: FC = () => {
4848
{
4949
key: String(Tabs.stat),
5050
children: <EngineerStat data={engineerStat} />,
51-
label: t(`pages.contractorStatsAndInfo.mineAreaInfo`),
51+
label: t(`My stat`),
5252
},
5353
]}
5454
documentTitleScope="Engineer stat and info"

src/pages/engineer/stat/ui/index.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ export const EngineerStat: FC<{
3737
dataIndex: 'fails_count',
3838
key: 'fails_count',
3939
},
40-
{
41-
dataIndex: 'cost_of_execution',
42-
key: 'cost_of_execution',
43-
},
4440
];
4541
const columns: ColumnsType<ContractorStats> = [
4642
{
@@ -74,11 +70,6 @@ export const EngineerStat: FC<{
7470
dataIndex: 'upgrades_fails_count',
7571
key: 'upgrades_fails_count',
7672
},
77-
{
78-
title: t('Total DME earned'),
79-
dataIndex: 'upgrades_fails_count',
80-
key: 'upgrades_fails_count',
81-
},
8273
];
8374

8475
const expandedRowRender = (value: EngineerStatDto) => {

0 commit comments

Comments
 (0)