show provider info when dynamic is selected

This commit is contained in:
dharini committed 2022-01-31 12:01:52 -08:00
1 parent 1e80414b32
commit 73566b0583
3 files changed
+2 -6

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'
@@ -24,8 +24,7 @@ export default class ScopesScopeHostCatalogsNewRoute extends Route {
*/
model(params) {
const scopeModel = this.modelFor('scopes.scope');
if (!params.type) params.type = 'plugin';
params.name = 'Avon';
if (!params.type) params.type = 'static';
return this.store.createRecord('host-catalog', {
compositeType: params.type, //static or aws or azure
scopeModel,