From 9716578f05bbcd47f363a525e1ae17c68e2a5811 Mon Sep 17 00:00:00 2001 From: viown <48097677+viown@users.noreply.github.com> Date: Wed, 4 Sep 2024 11:28:57 +0300 Subject: [PATCH] fix merge conflict --- src/apps/dashboard/routes/users/access.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apps/dashboard/routes/users/access.tsx b/src/apps/dashboard/routes/users/access.tsx index 766747ff3cc..44d31795496 100644 --- a/src/apps/dashboard/routes/users/access.tsx +++ b/src/apps/dashboard/routes/users/access.tsx @@ -17,6 +17,7 @@ type ItemsArr = { Name?: string | null; Id?: string | null; AppName?: string | null; + CustomName?: string | null; checkedAttribute?: string }; @@ -112,6 +113,7 @@ const UserLibraryAccess = () => { Id: device.Id, Name: device.Name, AppName: device.AppName, + CustomName: device.CustomName, checkedAttribute: checkedAttribute }); } @@ -307,7 +309,7 @@ const UserLibraryAccess = () => { key={Item.Id} className='chkDevice' itemId={Item.Id} - itemName={Item.Name} + itemName={Item.CustomName || Item.Name} itemAppName={Item.AppName} itemCheckedAttribute={Item.checkedAttribute} />