From aa23fa27229ae3d7b68bfe7a8f8a033f087f02f2 Mon Sep 17 00:00:00 2001 From: Artem Dzhereleiko Date: Mon, 1 Jul 2024 15:10:14 +0300 Subject: [PATCH] UI: Refactoring function name --- ui-ngx/src/app/core/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/core/utils.ts b/ui-ngx/src/app/core/utils.ts index f1283523e1..a534f157b7 100644 --- a/ui-ngx/src/app/core/utils.ts +++ b/ui-ngx/src/app/core/utils.ts @@ -364,14 +364,14 @@ export function mergeDeep(target: T, ...sources: T[]): T { return _.merge(target, ...sources); } -function customizer(target: any, sources: any) { +function ignoreArrayMergeFunc(target: any, sources: any) { if (_.isArray(target)) { return sources; } } export function mergeDeepIgnoreArray(target: T, ...sources: T[]): T { - return _.mergeWith(target, ...sources, customizer); + return _.mergeWith(target, ...sources, ignoreArrayMergeFunc); } export function guid(): string {