From 08dd698402382bc074fccfe0ee957e9874ef90e5 Mon Sep 17 00:00:00 2001 From: ilham Date: Mon, 3 Jan 2022 00:54:26 +0700 Subject: [PATCH] fix: profit in profil --- src/pages/Profile/Profile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Profile/Profile.js b/src/pages/Profile/Profile.js index c390507..5fa9a55 100644 --- a/src/pages/Profile/Profile.js +++ b/src/pages/Profile/Profile.js @@ -234,8 +234,8 @@ export const Profile = observer(() => { - {store.authentication.userData.role === "Admin" || - (store.authentication.userData.role === "Supervisor" && ( + {store.authentication.userData.role != "Admin Partner" && + (store.authentication.userData.role != "Retail" && (