From 676be2353f60c825d73fe2025a79e323805039d2 Mon Sep 17 00:00:00 2001 From: Ketan <73937490+devketanpro@users.noreply.github.com> Date: Tue, 22 Oct 2024 10:06:03 +0530 Subject: [PATCH] Add new category in User prefrences related to Macros config [SDNTB-876] (#4664) --- .../users/directives/UserPreferencesDirective.ts | 2 +- scripts/apps/users/views/user-preferences.html | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/scripts/apps/users/directives/UserPreferencesDirective.ts b/scripts/apps/users/directives/UserPreferencesDirective.ts index 49fba616da..e020b9741d 100644 --- a/scripts/apps/users/directives/UserPreferencesDirective.ts +++ b/scripts/apps/users/directives/UserPreferencesDirective.ts @@ -420,7 +420,7 @@ export function UserPreferencesDirective( }); } - p[key] = _.extend(val, scope.preferences[key]); + p[key] = _.merge(val, scope.preferences[key]); }); return p; } diff --git a/scripts/apps/users/views/user-preferences.html b/scripts/apps/users/views/user-preferences.html index 9a5d598695..685ac69741 100644 --- a/scripts/apps/users/views/user-preferences.html +++ b/scripts/apps/users/views/user-preferences.html @@ -19,6 +19,7 @@ +