Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

fix: regression externalResouces should work globally, fix #1329 #1331

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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