From b85af8fca6d832535e46086885692e77f3e85624 Mon Sep 17 00:00:00 2001 From: "ajat91.sudrajat" Date: Fri, 7 Jan 2022 18:54:59 +0700 Subject: [PATCH] Perbaikan PPOB --- src/pages/Profile/Profile.js | 103 ++++++++++++++++++++++++----------- 1 file changed, 72 insertions(+), 31 deletions(-) diff --git a/src/pages/Profile/Profile.js b/src/pages/Profile/Profile.js index e4dd463..69a1806 100644 --- a/src/pages/Profile/Profile.js +++ b/src/pages/Profile/Profile.js @@ -256,37 +256,78 @@ export const Profile = observer(() => { {store.authentication.profileData.superior?.username} - - Foto Identitas - - - Foto Toko - - - - - - - - - - - + {store.authentication.userData.role === "Sales" && ( + + + Foto Identitas + + + Foto Toko + + + + + + + + + + + + + )} + {store.authentication.userData.role === "Supervisor" && ( + + + Foto Identitas + + + Foto Toko + + + + + + + + + + + + + )}