Skip to content

Commit

Permalink
Merge pull request #1331 from ghiscoding/bugfix/global-register-resource
Browse files Browse the repository at this point in the history
fix: regression externalResouces should work globally, fix #1329
  • Loading branch information
ghiscoding authored Dec 15, 2023
2 parents 9c2610b + 72fb260 commit e337457
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ export class AngularSlickgridComponent<TData = any> implements AfterViewInit, On

// save resource refs to register before the grid options are merged and possibly deep copied
// since a deep copy of grid options would lose original resource refs but we want to keep them as singleton
this._registeredResources = this.gridOptions?.externalResources || [];
this._registeredResources = ({ ...this.forRootConfig, ...this.gridOptions } as GridOption)?.externalResources || [];

this.initialization(this._eventHandler);
this._isGridInitialized = true;
Expand Down

0 comments on commit e337457

Please sign in to comment.