rebase main

This commit is contained in:
dharini committed 2022-01-31 13:16:03 -08:00
1 parent 73566b0583
commit fdef23de89
3 files changed
+4 -22

No files matched your search

+1 -13
View File
@@ -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)
}
}
}
@@ -8,6 +8,4 @@
addStringItem=@addStringItem
addAccountClaimMapItem=@addAccountClaimMapItem
}}
{{/if}}
{{{log @model 'mdelll'}}}
{{/if}}
@@ -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}}