mirror of https://github.com/rancher/ui.git
ingress model missing canHaveLabels property
rancher/rancher#15096 rancher/rancher#16112
This commit is contained in:
parent
e6499a5b67
commit
ae709b3da9
|
|
@ -66,7 +66,7 @@
|
|||
{{/if}}
|
||||
{{/if}}
|
||||
{{#unless editing}}
|
||||
<div class="pt-20"></div>
|
||||
<hr class="mt-20 mb-20"/>
|
||||
{{/unless}}
|
||||
<div class="col {{if editing 'span-6' 'span-12'}}">
|
||||
{{#if editing}}
|
||||
|
|
|
|||
|
|
@ -4,14 +4,15 @@ import { reference } from 'ember-api-store/utils/denormalize';
|
|||
import { inject as service } from '@ember/service';
|
||||
|
||||
export default Resource.extend({
|
||||
clusterStore: service(),
|
||||
router: service(),
|
||||
clusterStore: service(),
|
||||
router: service(),
|
||||
|
||||
type: 'ingress',
|
||||
type: 'ingress',
|
||||
|
||||
canClone: true,
|
||||
canClone: true,
|
||||
canHaveLabels: true,
|
||||
|
||||
namespace: reference('namespaceId', 'namespace', 'clusterStore'),
|
||||
namespace: reference('namespaceId', 'namespace', 'clusterStore'),
|
||||
|
||||
targets: computed('rules.@each.paths', function() {
|
||||
const out = [];
|
||||
|
|
|
|||
|
|
@ -24,10 +24,12 @@
|
|||
{{else}}
|
||||
<div class="text-center">
|
||||
<div class="text-muted mb-20">{{t 'formSslTermination.noCertificatesConfiged'}}</div>
|
||||
<button class="btn bg-link icon-btn inline-block " {{action "addCert"}}>
|
||||
<span class="darken"><i class="icon icon-plus text-small"></i></span>
|
||||
<span>{{t 'formSslTermination.addCertLabel'}}</span>
|
||||
</button>
|
||||
{{#if editing}}
|
||||
<button class="btn bg-link icon-btn inline-block " {{action "addCert"}}>
|
||||
<span class="darken"><i class="icon icon-plus text-small"></i></span>
|
||||
<span>{{t 'formSslTermination.addCertLabel'}}</span>
|
||||
</button>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/each}}
|
||||
{{#if (and editing allCertificates.length)}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue