show provider info when dynamic is selected
This commit is contained in:
1 parent
36eab2e0f1
commit
19f48b2ca3
4 files changed
+29
-9
No files matched your search
@@ -1,2 +0,0 @@
|
||||
THIS IS DYNAINC
|
||||
{{{log @model 'NAMEEEE'}}}
|
||||
@@ -1,4 +1,3 @@
|
||||
STATIC {{{log 'STATTTTTIC' @model}}}
|
||||
<Rose::Form
|
||||
@onSubmit={{@submit}}
|
||||
@cancel={{@cancel}}
|
||||
@@ -22,7 +21,7 @@ STATIC {{{log 'STATTTTTIC' @model}}}
|
||||
{{/each}}
|
||||
</field.errors>
|
||||
{{/if}}
|
||||
</form.input> --}}
|
||||
</form.input>
|
||||
|
||||
<form.textarea
|
||||
@name='description'
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
import Component from '@glimmer/component';
|
||||
import { options } from 'api/models/credential-library';
|
||||
import { computed, action } from '@ember/object';
|
||||
import { tracked } from '@glimmer/tracking';
|
||||
|
||||
export default class FormHostCatalogIndexComponent extends Component {
|
||||
// =properties
|
||||
/**
|
||||
/**
|
||||
*/
|
||||
@tracked showDynamicPlugins = false;
|
||||
// =actions
|
||||
|
||||
@action
|
||||
toggleType(type) {
|
||||
this.renderDynamicPlugins(type);
|
||||
}
|
||||
renderDynamicPlugins(type) {
|
||||
if(type === 'dynamic') {
|
||||
this.showDynamicPlugins = true;
|
||||
} else {
|
||||
this.showDynamicPlugins = false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user