mirror of https://github.com/rancher/ui.git
Merge pull request #3256 from n313893254/22092
Fix can't select existing secret in the catalog ui
This commit is contained in:
commit
a69cb5ec6e
|
|
@ -1,5 +1,6 @@
|
||||||
import Component from '@ember/component';
|
import Component from '@ember/component';
|
||||||
import layout from './template';
|
import layout from './template';
|
||||||
|
import { computed, get } from '@ember/object';
|
||||||
|
|
||||||
export default Component.extend({
|
export default Component.extend({
|
||||||
question: null,
|
question: null,
|
||||||
|
|
@ -10,4 +11,7 @@ export default Component.extend({
|
||||||
|
|
||||||
tagName: 'div',
|
tagName: 'div',
|
||||||
|
|
||||||
|
namespace: computed('namespaceId', function() {
|
||||||
|
return { id: get(this, 'namespaceId'), }
|
||||||
|
}),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
field=question
|
field=question
|
||||||
value=answer
|
value=answer
|
||||||
namespaceId=namespaceId
|
namespaceId=namespaceId
|
||||||
|
namespace=namespace
|
||||||
}}
|
}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{input
|
{{input
|
||||||
|
|
@ -18,7 +19,11 @@
|
||||||
value=question.answer
|
value=question.answer
|
||||||
class="form-control"
|
class="form-control"
|
||||||
}}
|
}}
|
||||||
<p>{{t 'inputAnswers.unknownType'}} {{question.type}}</p>
|
<p>
|
||||||
|
{{t 'inputAnswers.unknownType'}} {{question.type}}
|
||||||
|
</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<p class="help-block">{{question.description}}</p>
|
<p class="help-block">
|
||||||
|
{{question.description}}
|
||||||
|
</p>
|
||||||
Loading…
Reference in New Issue