From ab317c53f3707094466767bb27d5c6bef81de93a Mon Sep 17 00:00:00 2001 From: Steven Zhang Date: Thu, 12 Mar 2026 21:17:26 -0700 Subject: [PATCH 1/3] #460 [Bug][Rancher Manager v2.14] Sbomscanner UI Ext fails to install --- .../pages/c/_cluster/sbomscanner/index.vue | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/pkg/sbomscanner-ui-ext/pages/c/_cluster/sbomscanner/index.vue b/pkg/sbomscanner-ui-ext/pages/c/_cluster/sbomscanner/index.vue index f20f230a..21035890 100644 --- a/pkg/sbomscanner-ui-ext/pages/c/_cluster/sbomscanner/index.vue +++ b/pkg/sbomscanner-ui-ext/pages/c/_cluster/sbomscanner/index.vue @@ -9,22 +9,8 @@ export default { components: { Dashboard, InstallView }, - async fetch() { - if ( this.$store.getters['cluster/canList'](SERVICE) ) { - this.allServices = await this.$store.dispatch('cluster/findAll', { type: SERVICE }, { root: true }); - } - if ( this.$store.getters['cluster/canList'](SCHEMA) ) { - this.allSchemas = await this.$store.dispatch('cluster/findAll', { type: SCHEMA }, { root: true }); - } - }, - data() { - return { - allServices: null, - allSchemas: null, - index: -1, - store: this.$store, - }; + return { store: this.$store }; }, computed: { @@ -36,7 +22,7 @@ export default {