diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/dot-content-types.component.ts b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/dot-content-types.component.ts index e9d3bd4e0ab5..15159200c7e3 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/dot-content-types.component.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/dot-content-types.component.ts @@ -240,7 +240,9 @@ export class DotContentTypesPortletComponent implements OnInit, OnDestroy { actions.push({ menuItem: { label: this.dotMessageService.get('contenttypes.content.copy'), - command: (item: DotCMSContentType) => this.showCloneContentTypeDialog(item) + command: (item: DotCMSContentType) => { + this.showCloneContentTypeDialog(item); + } } }); }