mirror of https://github.com/rancher/ui.git
Enable default cluster tempalte checkbox (rancher/rancher#22230)
This commit is contained in:
parent
cf1195575b
commit
c958770ea8
|
|
@ -23,18 +23,6 @@ export default Resource.extend({
|
|||
return 'disabled';
|
||||
}),
|
||||
|
||||
canBulkRemove: computed('clusterTemplateId', function() {
|
||||
let { clusterTemplate } = this;
|
||||
|
||||
if (clusterTemplate &&
|
||||
clusterTemplate.defaultRevisionId &&
|
||||
clusterTemplate.defaultRevisionId !== this.id) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}),
|
||||
|
||||
canMakeDefault: computed('clusterTemplate.defaultRevisionId', function() {
|
||||
let { clusterTemplate: { defaultRevisionId = '' } } = this;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue