Merge branch 'develop' into 'devops-staging'

Bug Fixing

See merge request empatnusabangsa/ppob/ppob-frontend!158
This commit is contained in:
ajat sudrajat 2022-02-07 08:04:55 +00:00
commit 3d27b4a62c

View File

@ -506,6 +506,7 @@ export const DesktopLayout = observer(() => {
onVisibleChange={() => setClicked(!clicked)} onVisibleChange={() => setClicked(!clicked)}
> >
{store.authentication.userData.role !== "Admin" && {store.authentication.userData.role !== "Admin" &&
store.authentication.userData.role !== "Customer Service" &&
new Intl.NumberFormat("id-ID", { new Intl.NumberFormat("id-ID", {
style: "currency", style: "currency",
currency: "IDR", currency: "IDR",
@ -564,7 +565,8 @@ export const DesktopLayout = observer(() => {
width: "100%", width: "100%",
}} }}
></div> ></div>
{store.authentication.userData.role !== "Admin" && ( {store.authentication.userData.role !== "Admin" &&
store.authentication.userData.role !== "Customer Service" && (
<Card <Card
size="small" size="small"
title={ title={
@ -578,7 +580,9 @@ export const DesktopLayout = observer(() => {
{new Intl.NumberFormat("id-ID", { {new Intl.NumberFormat("id-ID", {
style: "currency", style: "currency",
currency: "IDR", currency: "IDR",
}).format(store.authentication.profileData?.wallet || 0)} }).format(
store.authentication.profileData?.wallet || 0
)}
</span> </span>
} }
style={{ style={{