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 + + + + + + + + + + + + + )}