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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|