Browse Source

Fixed mutation in ignore Array Merge Function

pull/14615/head
Maksym Tsymbarov 10 months ago
parent
commit
6627bd9c06
  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) { function ignoreArrayMergeFunc(target: any, sources: any) {
if (_.isArray(target)) { if (_.isArray(target)) {
return sources; return deepClone(sources);
} }
} }

Loading…
Cancel
Save