diff --git a/addons/api/addon/models/host-catalog.js b/addons/api/addon/models/host-catalog.js index 33fce7bc7..ec34b50e3 100644 --- a/addons/api/addon/models/host-catalog.js +++ b/addons/api/addon/models/host-catalog.js @@ -26,15 +26,7 @@ export default class HostCatalogModel extends GeneratedHostCatalogModel { * @type {boolean} */ get isUnknown() { - console.log(this.isPlugin, 'IS IT PLUGIN', this.plugin, types); - // if(this.plugin === undefined) { - // console.log('in USEFNNFNF') - // return false; - // } else { - // console.log('in ELSE EE') - - return this.isPlugin && !types.includes(this.plugin.name); - // } + return this.isPlugin && !types.includes(this.plugin.name); } /** @@ -59,8 +51,6 @@ export default class HostCatalogModel extends GeneratedHostCatalogModel { * @type {string} */ get compositeType() { - console.log(this, this.isPlugin, 'WHAT IS PLUGNI'); - // if(this.plugin === undefined) return 'static'; if (this.isUnknown) return 'unknown'; if (this.isPlugin) return this.plugin.name; return 'static'; @@ -75,9 +65,7 @@ export default class HostCatalogModel extends GeneratedHostCatalogModel { this.type = 'static'; } else { this.type = 'plugin'; - this.plugin = { name: type }; - console.log('COMPOSITI' , this.plugin, type) } } } diff --git a/ui/admin/app/components/form/auth-method/index.hbs b/ui/admin/app/components/form/auth-method/index.hbs index 224c8006f..77cf37d4d 100644 --- a/ui/admin/app/components/form/auth-method/index.hbs +++ b/ui/admin/app/components/form/auth-method/index.hbs @@ -8,6 +8,4 @@ addStringItem=@addStringItem addAccountClaimMapItem=@addAccountClaimMapItem }} -{{/if}} - -{{{log @model 'mdelll'}}} \ No newline at end of file +{{/if}} \ No newline at end of file diff --git a/ui/admin/app/components/form/host-catalog/index.hbs b/ui/admin/app/components/form/host-catalog/index.hbs index 1740712ef..35a4a94bd 100644 --- a/ui/admin/app/components/form/host-catalog/index.hbs +++ b/ui/admin/app/components/form/host-catalog/index.hbs @@ -1,8 +1,4 @@ -COMES JERE -{{{log 'BLLL' @model.compositeType}}} -{{{log 'NNFRM' @model.isNew}}} - -{{!-- {{#if @model.isNew}} --}} +{{#if @model.isNew}} {{#if @model.compositeType}} {{component (concat 'form/host-catalog/' @model.compositeType) @@ -10,5 +6,5 @@ COMES JERE submit=@submit cancel=@cancel }} -{{!-- {{/if}} --}} +{{/if}} {{/if}}