From 9dbe7d9015071a6154d895ef8da432e7fc03b11d Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 24 Jul 2025 13:00:44 +0800 Subject: [PATCH] fix: exception error (#422) (#423) (cherry picked from commit b6ffb3e9f1b33c4d9c5d2e4600db87920927b61a) Signed-off-by: Yi-Ya Chen Co-authored-by: Yiya 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));