Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
nwmac committed Jul 10, 2024
1 parent 4235486 commit ffcdd9a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion shell/edit/provisioning.cattle.io.cluster/rke2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ export default {
* Extension provider where being provisioned by an extension
*/
extensionProvider() {
return this.value.customProvisionerHelper;
return this.value?.customProvisionerHelper;
},
/**
Expand Down
4 changes: 0 additions & 4 deletions shell/models/provisioning.cattle.io.cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ import { ModelExtensions } from '@shell/utils/model-extensions';
* @extends SteveModel
*/
export default class ProvCluster extends SteveModel {
constructor(data, ctx, rehydrateNamespace = null, setClone = false) {
super(data, ctx, rehydrateNamespace, setClone);
}

/**
* Instance of model extensions utility that we can use for accessing model helpers provided by extensions
*/
Expand Down

0 comments on commit ffcdd9a

Please sign in to comment.