mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
Remove header definition from config/harvester-manager.js
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
parent
6f9c92f16a
commit
0fa18d24ec
@ -1,7 +1,5 @@
|
|||||||
import { HCI, MANAGEMENT, CAPI } from '@shell/config/types';
|
import { HCI, MANAGEMENT, CAPI } from '@shell/config/types';
|
||||||
import { HARVESTER, MULTI_CLUSTER } from '@shell/store/features';
|
import { HARVESTER, MULTI_CLUSTER } from '@shell/store/features';
|
||||||
import { STATE, NAME as NAME_COL, AGE, VERSION } from '@shell/config/table-headers';
|
|
||||||
import { MACHINE_POOLS } from '../config/table-headers';
|
|
||||||
import { allHash } from '@shell/utils/promise';
|
import { allHash } from '@shell/utils/promise';
|
||||||
import { BLANK_CLUSTER } from '@shell/store/store-types.js';
|
import { BLANK_CLUSTER } from '@shell/store/store-types.js';
|
||||||
|
|
||||||
@ -22,7 +20,6 @@ export function init($plugin, store) {
|
|||||||
const {
|
const {
|
||||||
product,
|
product,
|
||||||
basicType,
|
basicType,
|
||||||
headers,
|
|
||||||
spoofedType,
|
spoofedType,
|
||||||
configureType
|
configureType
|
||||||
} = $plugin.DSL(store, NAME);
|
} = $plugin.DSL(store, NAME);
|
||||||
@ -40,31 +37,7 @@ export function init($plugin, store) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
configureType(HCI.CLUSTER, { showListMasthead: false });
|
configureType(HCI.CLUSTER, { showListMasthead: false });
|
||||||
headers(HCI.CLUSTER, [
|
|
||||||
STATE,
|
|
||||||
NAME_COL,
|
|
||||||
{
|
|
||||||
name: 'harvesterVersion',
|
|
||||||
sort: 'harvesterVersion',
|
|
||||||
labelKey: 'harvesterManager.tableHeaders.harvesterVersion',
|
|
||||||
value: 'harvesterVersion',
|
|
||||||
getValue: (row) => row.harvesterVersion
|
|
||||||
},
|
|
||||||
{
|
|
||||||
...VERSION,
|
|
||||||
labelKey: 'harvesterManager.tableHeaders.kubernetesVersion',
|
|
||||||
value: 'kubernetesVersion',
|
|
||||||
getValue: (row) => row.kubernetesVersion
|
|
||||||
},
|
|
||||||
MACHINE_POOLS,
|
|
||||||
AGE,
|
|
||||||
{
|
|
||||||
name: 'harvester',
|
|
||||||
label: ' ',
|
|
||||||
align: 'right',
|
|
||||||
width: 65,
|
|
||||||
},
|
|
||||||
]);
|
|
||||||
basicType([HCI.CLUSTER]);
|
basicType([HCI.CLUSTER]);
|
||||||
spoofedType({
|
spoofedType({
|
||||||
labelKey: 'harvesterManager.cluster.label',
|
labelKey: 'harvesterManager.cluster.label',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user