Skip to content

Commit

Permalink
fix(layer): fix layer issue with capabilities options
Browse files Browse the repository at this point in the history
  • Loading branch information
cbourget committed Apr 24, 2019
1 parent 00affa1 commit 4b6ad54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/geo/src/lib/layer/shared/layer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export class LayerService {
layerOptions.source.options.optionsFromCapabilities
) {
layerOptions = ObjectUtils.mergeDeep(
layerOptions,
(layerOptions.source.options as any)._layerOptionsFromCapabilities
(layerOptions.source.options as any)._layerOptionsFromCapabilities || {},
layerOptions || {}
);
}

Expand Down

0 comments on commit 4b6ad54

Please sign in to comment.