From 24477757e49c7a8fecbf66929b342c9a53f8d62a Mon Sep 17 00:00:00 2001 From: "andy.lee" Date: Wed, 30 Oct 2024 16:47:04 +0800 Subject: [PATCH] Fix unable to add new secret due to missing namespace Signed-off-by: andy.lee --- .../harvesterhci.io.host/HarvesterSeeder.vue | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/pkg/harvester/edit/harvesterhci.io.host/HarvesterSeeder.vue b/pkg/harvester/edit/harvesterhci.io.host/HarvesterSeeder.vue index 0495d3b7..c984fe28 100644 --- a/pkg/harvester/edit/harvesterhci.io.host/HarvesterSeeder.vue +++ b/pkg/harvester/edit/harvesterhci.io.host/HarvesterSeeder.vue @@ -97,12 +97,10 @@ export default { }; }); - // if (!(this.disableCreate || this.mode === _VIEW) && this.isCreatable) { out.unshift({ label: this.t('harvester.virtualMachine.createSSHKey'), value: _NEW, }); - // } return out; }, @@ -318,16 +316,16 @@ export default { :mode="mode" /> -
- -
+ +
+