From b6ffb3e9f1b33c4d9c5d2e4600db87920927b61a Mon Sep 17 00:00:00 2001 From: Yiya Chen Date: Thu, 24 Jul 2025 12:37:56 +0800 Subject: [PATCH] fix: exception error (#422) Signed-off-by: Yi-Ya Chen --- pkg/harvester/components/settings/support-bundle-namespaces.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/harvester/components/settings/support-bundle-namespaces.vue b/pkg/harvester/components/settings/support-bundle-namespaces.vue index b0aeb9b9..5a2b3607 100644 --- a/pkg/harvester/components/settings/support-bundle-namespaces.vue +++ b/pkg/harvester/components/settings/support-bundle-namespaces.vue @@ -53,8 +53,6 @@ export default { }, namespaceOptions() { - if (this.availableNamespaces.length === 0) return []; - const allSelected = this.namespaces.length === this.filteredNamespaces.length && this.filteredNamespaces.every((ns) => this.namespaces.includes(ns));