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 layout from './template';
|
||||
import { computed, get } from '@ember/object';
|
||||
|
||||
export default Component.extend({
|
||||
question: null,
|
||||
|
|
@ -10,4 +11,7 @@ export default Component.extend({
|
|||
|
||||
tagName: 'div',
|
||||
|
||||
namespace: computed('namespaceId', function() {
|
||||
return { id: get(this, 'namespaceId'), }
|
||||
}),
|
||||
});
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
field=question
|
||||
value=answer
|
||||
namespaceId=namespaceId
|
||||
namespace=namespace
|
||||
}}
|
||||
{{else}}
|
||||
{{input
|
||||
|
|
@ -18,7 +19,11 @@
|
|||
value=question.answer
|
||||
class="form-control"
|
||||
}}
|
||||
<p>{{t 'inputAnswers.unknownType'}} {{question.type}}</p>
|
||||
<p>
|
||||
{{t 'inputAnswers.unknownType'}} {{question.type}}
|
||||
</p>
|
||||
{{/if}}
|
||||
|
||||
<p class="help-block">{{question.description}}</p>
|
||||
<p class="help-block">
|
||||
{{question.description}}
|
||||
</p>
|
||||
Loading…
Reference in New Issue