Skip to content

Commit

Permalink
Fix minor bug when cluster view shows error when viewed from more res…
Browse files Browse the repository at this point in the history
…ources
  • Loading branch information
nwmac committed Oct 27, 2021
1 parent 26c8475 commit 81847ab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion detail/provisioning.cattle.io.cluster.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ export default {
},
async fetch() {
await this.value.waitForProvisioner();
const inStore = this.$store.getters['currentProduct'].inStore;
// Don't wait for provisioner if the product is not mgmt (e.g. if viewing in the local cluster from 'more resources')
if (inStore === 'management') {
await this.value.waitForProvisioner();
}
const hash = {};
if (this.value.isImported || this.value.isRke1) {
Expand Down

0 comments on commit 81847ab

Please sign in to comment.