[plugins-functionality | DONE | FIXED ] double check about custom components

This commit is contained in:
argirok 2024-06-11 12:19:28 +03:00
parent beddd67d34
commit 7fff8e4cc8
1 changed files with 1 additions and 1 deletions

View File

@ -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});
} }
} }