barsa-develop-components 1.0.248 → 1.0.249

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2817,6 +2817,9 @@ class FooterComponent extends BaseComponent {
2817
2817
  ngOnInit() {
2818
2818
  super.ngOnInit();
2819
2819
  const { RelatedMo } = this.settings;
2820
+ if (!RelatedMo) {
2821
+ return;
2822
+ }
2820
2823
  this._portalService.loadMo(RelatedMo.Id, RelatedMo.$TypeDefId).subscribe((result) => {
2821
2824
  this.footer = result?.Data?.Mo;
2822
2825
  this._cdr.detectChanges();