From 6ad19aacef0a960e4c4777946145d1409677dfc0 Mon Sep 17 00:00:00 2001 From: kirankumarb07 Date: Tue, 21 Mar 2023 19:19:02 +0530 Subject: Fix User Management Page issues title and Policy This patchset will fix the following issues in the user management page 1. "lockoutThreshold" and "lockoutDuration" values are not shown in the account policy model when we navigate to any other page and come back to the user management page account policy model. Fix - The "lockoutThreshold" and "lockoutDuration" values are monitored and updated in the model window by using the watch. When navigated from another page, the watch is not updating the values, so the default values are displayed. Initialized the value with an empty object, so the watch will get triggered and update the fields with proper values. 2. The User Management Page title is not translated properly. The router names are used to map each page's language objects. For the user management page, the router name and the object value in the locale file are different. Due to that, the title did not get translated properly. Fix - Changed the user management page title to match the locale file's language object key value. Change-Id: I1582c9d528633465c65f5d78e31d3dc740252cb0 Signed-off-by: Kirankumar Ballapalli --- src/router/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/router') diff --git a/src/router/routes.js b/src/router/routes.js index 1404da5e..4cf8d72d 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -160,7 +160,7 @@ const routes = [ }, { path: '/security-and-access/user-management', - name: 'local-users', + name: 'user-management', component: UserManagement, meta: { title: i18n.t('appPageTitle.userManagement'), -- cgit v1.2.3