Browse Source

Merge pull request #14615 from mtsymbarov-del/fix/ignore-array-merge-matation

Fixed mutation in ignore Array Merge Function
pull/14616/head
Vladyslav Prykhodko 8 months ago
committed by GitHub
parent
commit
4728af3641
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      ui-ngx/src/app/core/utils.ts

2
ui-ngx/src/app/core/utils.ts

@ -403,7 +403,7 @@ export function mergeDeep<T>(target: T, ...sources: T[]): T {
function ignoreArrayMergeFunc(target: any, sources: any) {
if (_.isArray(target)) {
return sources;
return deepClone(sources);
}
}

Loading…
Cancel
Save