Skip to content

Commit

Permalink
Fix: Obbject refence error and polyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
godind committed Nov 4, 2023
1 parent a4991c5 commit 73f47ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class DynamicWidgetContainerComponent implements OnInit, OnDestroy {
private instanciateWidget(): void {
this.splitWidgetSettings = null;
// Use parent layout-split UUID to find configured target Widgett. Split UUID is used for Widget UUID
this.splitWidgetSettings = this.WidgetManagerService.getWidget(this.splitUUID); // get from parent
this.splitWidgetSettings = cloneDeep(this.WidgetManagerService.getWidget(this.splitUUID)); // get from parent
const widgetComponentTypeName = this.widgetListService.getComponentName(this.splitWidgetSettings.type);

// Dynamically create component.
Expand Down
2 changes: 1 addition & 1 deletion src/polyfills.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/***************************************************************************************************
* Load `$localize` onto the global scope - used if i18n tags appear in Angular templates.
*/
import '@angular/localize/init';
// import '@angular/localize/init';
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.
Expand Down

0 comments on commit 73f47ae

Please sign in to comment.