mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +00:00
use harvester translation key forhost page CPU and memory (#220)
Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
parent
18667836c2
commit
38cf667830
@ -101,14 +101,14 @@ export default {
|
|||||||
const metricCol = [
|
const metricCol = [
|
||||||
{
|
{
|
||||||
name: 'cpu',
|
name: 'cpu',
|
||||||
labelKey: 'node.detail.glance.consumptionGauge.cpu',
|
labelKey: 'harvester.dashboard.hardwareResourceGauge.cpu',
|
||||||
value: 'id',
|
value: 'id',
|
||||||
formatter: 'HarvesterCPUUsed',
|
formatter: 'HarvesterCPUUsed',
|
||||||
formatterOpts: { showUsed: true },
|
formatterOpts: { showUsed: true },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'memory',
|
name: 'memory',
|
||||||
labelKey: 'node.detail.glance.consumptionGauge.memory',
|
labelKey: 'harvester.dashboard.hardwareResourceGauge.memory',
|
||||||
value: 'id',
|
value: 'id',
|
||||||
formatter: 'HarvesterMemoryUsed',
|
formatter: 'HarvesterMemoryUsed',
|
||||||
formatterOpts: { showUsed: true },
|
formatterOpts: { showUsed: true },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user