Skip to content

Commit 718d47a

Browse files
xingzhang-suselsongsuse
authored andcommitted
#189 After installing the NeuVector UI extension in rancher 2.14.0, The dashboard page shows blank with no console errors
1 parent 60db274 commit 718d47a

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

  • pkg/neuvector-ui-ext/pages/c/_cluster/neuvector

pkg/neuvector-ui-ext/pages/c/_cluster/neuvector/index.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,11 @@ export default {
1313
if ( this.$store.getters['cluster/canList'](SERVICE) ) {
1414
this.allServices = await this.$store.dispatch('cluster/findAll', { type: SERVICE }, { root: true });
1515
}
16-
if ( this.$store.getters['cluster/canList'](SCHEMA) ) {
17-
this.allSchemas = await this.$store.dispatch('cluster/findAll', { type: SCHEMA }, { root: true });
18-
}
1916
},
2017
2118
data() {
2219
return {
2320
allServices: null,
24-
allSchemas: null,
25-
index: -1,
2621
NV_CONST: NV_CONST,
2722
}
2823
},
@@ -61,7 +56,7 @@ export default {
6156
</script>
6257
6358
<template>
64-
<div v-if="allSchemas">
59+
<div>
6560
<InstallView v-if="!hasSchema" :ui-service="uiService" />
6661
<DashboardView v-else :ns="NV_CONST.NV_POD_NAMESPACE" :rancherTheme="rancherTheme"/>
6762
</div>

0 commit comments

Comments
 (0)