From 384e6b7e0fa60e7a30928abb131c8f8d9d7b8acb Mon Sep 17 00:00:00 2001 From: Fadli Date: Tue, 20 Dec 2022 01:57:43 +0700 Subject: [PATCH] - fix status check bill when pending in b2c --- 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 b14a43e..f867019 100644 --- a/src/pages/Profile/Profile.js +++ b/src/pages/Profile/Profile.js @@ -337,14 +337,14 @@ export const Profile = observer(() => { color={ record.status === "SUCCESS" ? "success" - : record.status === 0 + : record.status === "PENDING" ? "warning" : "processing" } > {record.status === "SUCCESS" ? "Sukses" - : record.status === 0 + : record.status === "PENDING" ? "Dalam Proses" : "Gagal"}