mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
Add description column in namespace and image pages (#335)
Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
parent
a89678cc81
commit
912ca7883f
@ -24,6 +24,7 @@ import {
|
||||
CONFIGURED_PROVIDERS,
|
||||
SUB_TYPE,
|
||||
ADDRESS,
|
||||
DESCRIPTION,
|
||||
} from '@shell/config/table-headers';
|
||||
import { IF_HAVE } from '@shell/store/type-map';
|
||||
import {
|
||||
@ -32,7 +33,7 @@ import {
|
||||
IMAGE_PROGRESS,
|
||||
SNAPSHOT_TARGET_VOLUME,
|
||||
IMAGE_VIRTUAL_SIZE,
|
||||
IMAGE_STORAGE_CLASS
|
||||
IMAGE_STORAGE_CLASS,
|
||||
} from './table-headers';
|
||||
|
||||
const TEMPLATE = HCI.VM_VERSION;
|
||||
@ -222,6 +223,7 @@ export function init($plugin, store) {
|
||||
STATE,
|
||||
NAME_COL,
|
||||
NAMESPACE_COL,
|
||||
DESCRIPTION,
|
||||
IMAGE_STORAGE_CLASS,
|
||||
IMAGE_PROGRESS,
|
||||
IMAGE_DOWNLOAD_SIZE,
|
||||
@ -255,7 +257,7 @@ export function init($plugin, store) {
|
||||
});
|
||||
|
||||
if (isSingleVirtualCluster) {
|
||||
headers(NAMESPACE, [STATE, NAME_UNLINKED, AGE]);
|
||||
headers(NAMESPACE, [STATE, NAME_UNLINKED, DESCRIPTION, AGE]);
|
||||
basicType([NAMESPACE]);
|
||||
virtualType({
|
||||
labelKey: 'harvester.namespace.label',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user