From 645b0582949e7ee367af700ae56731635b8cef7e Mon Sep 17 00:00:00 2001 From: Richard Cox Date: Mon, 27 Nov 2023 10:08:09 +0000 Subject: [PATCH] Add back rancher cluster column, make clickable to explorer view --- dashboard/pkg/epinio/config/epinio.ts | 6 ++++++ dashboard/pkg/epinio/pages/index.vue | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/dashboard/pkg/epinio/config/epinio.ts b/dashboard/pkg/epinio/config/epinio.ts index 6e88026..18896a0 100644 --- a/dashboard/pkg/epinio/config/epinio.ts +++ b/dashboard/pkg/epinio/config/epinio.ts @@ -300,6 +300,12 @@ export function init($plugin: any, store: any) { labelKey: 'epinio.instances.tableHeaders.api', sort: ['api'], }, + { + name: 'rancherCluster', + labelKey: 'epinio.instances.tableHeaders.cluster', + sort: ['mgmtCluster.nameDisplay'], + value: 'mgmtCluster.nameDisplay' + }, ]); headers(EPINIO_TYPES.CONFIGURATION, [ diff --git a/dashboard/pkg/epinio/pages/index.vue b/dashboard/pkg/epinio/pages/index.vue index c9c9948..4d88fdd 100644 --- a/dashboard/pkg/epinio/pages/index.vue +++ b/dashboard/pkg/epinio/pages/index.vue @@ -208,6 +208,15 @@ export default Vue.extend({ +