diff --git a/src/app/components/basecomponent/basecomponent.ts b/src/app/components/basecomponent/basecomponent.ts index 00a81adf39d..6e2ee0c8a1f 100644 --- a/src/app/components/basecomponent/basecomponent.ts +++ b/src/app/components/basecomponent/basecomponent.ts @@ -94,10 +94,7 @@ export class BaseComponent { this.templates?.forEach((item) => { const type = item.getType(); const template = `${type}Template`; - - if (this[template]) { - this[template] = item.template; - } + this[template] = item.template; }); }