Skip to content

Commit

Permalink
Refactor base component, fixes #16641
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Nov 7, 2024
1 parent 6b8c9ce commit 57adb2b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/app/components/basecomponent/basecomponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
}

Expand Down

0 comments on commit 57adb2b

Please sign in to comment.