diff --git a/src/pages/App/DesktopLayout.js b/src/pages/App/DesktopLayout.js index d1699a4..c278af9 100644 --- a/src/pages/App/DesktopLayout.js +++ b/src/pages/App/DesktopLayout.js @@ -506,6 +506,7 @@ export const DesktopLayout = observer(() => { onVisibleChange={() => setClicked(!clicked)} > {store.authentication.userData.role !== "Admin" && + store.authentication.userData.role !== "Customer Service" && new Intl.NumberFormat("id-ID", { style: "currency", currency: "IDR", @@ -564,30 +565,33 @@ export const DesktopLayout = observer(() => { width: "100%", }} > - {store.authentication.userData.role !== "Admin" && ( - - Saldo :{" "} - {new Intl.NumberFormat("id-ID", { - style: "currency", - currency: "IDR", - }).format(store.authentication.profileData?.wallet || 0)} - - } - style={{ - marginRight: 10, - width: 210, - height: 31, - }} - > - )} + {store.authentication.userData.role !== "Admin" && + store.authentication.userData.role !== "Customer Service" && ( + + Saldo :{" "} + {new Intl.NumberFormat("id-ID", { + style: "currency", + currency: "IDR", + }).format( + store.authentication.profileData?.wallet || 0 + )} + + } + style={{ + marginRight: 10, + width: 210, + height: 31, + }} + > + )}