@smartbit4all/ng-client 1.1.41 → 1.1.42

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.
@@ -4799,8 +4799,18 @@ class SmartComponentLayoutComponent {
4799
4799
  constructor(layoutService) {
4800
4800
  this.layoutService = layoutService;
4801
4801
  }
4802
+ ngOnInit() {
4803
+ if (this.smartComponentLayout) {
4804
+ this.setUp();
4805
+ }
4806
+ }
4802
4807
  ngOnChanges(changes) {
4803
4808
  this.smartComponentLayout = changes['smartComponentLayout'].currentValue;
4809
+ if (this.smartComponentLayout) {
4810
+ this.setUp();
4811
+ }
4812
+ }
4813
+ setUp() {
4804
4814
  this.uuid = this.smartComponentLayout?.parentComponent.uuid;
4805
4815
  if (this.smartComponentLayout?.expandable) {
4806
4816
  this.constructExpandableSection();