[plugins-functionality | DONE | FIXED ] double check about custom components
This commit is contained in:
parent
beddd67d34
commit
7fff8e4cc8
|
@ -173,7 +173,7 @@ export class PluginsComponent implements OnInit {
|
||||||
customTemplate = template;
|
customTemplate = template;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if(customTemplate){
|
if(customTemplate && customTemplate.custom){
|
||||||
this.pluginsByPlacement.get(customTemplate.placement).push({plugin: _, template: customTemplate, openPreview: false});
|
this.pluginsByPlacement.get(customTemplate.placement).push({plugin: _, template: customTemplate, openPreview: false});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue