From 6224dd0b2e25f967f7e431582fa0065bda4460eb Mon Sep 17 00:00:00 2001 From: Alex Cheung Date: Mon, 26 Feb 2024 16:47:13 +0800 Subject: [PATCH] fix application status --- src/utils/statusUtils/PublicNoteStatusUtils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/statusUtils/PublicNoteStatusUtils.js b/src/utils/statusUtils/PublicNoteStatusUtils.js index 4b67d0a..1916d02 100644 --- a/src/utils/statusUtils/PublicNoteStatusUtils.js +++ b/src/utils/statusUtils/PublicNoteStatusUtils.js @@ -21,7 +21,7 @@ export function getStatusByText(status, creditor) { return getStatusTag({ color: "#22a13f", text: "待付款" }) case "paid": return getStatusTag({ color: "#22a13f", text: "待發佈" }) - case "complated": + case "completed": return getStatusTag({ color: "#8a8784", text: "已完成" }) case "notAccepted": return getStatusTag({ color: "#d9372b", text: "不接受" }) @@ -54,7 +54,7 @@ export function getStatusByTextEng(status, creditor) { return getStatusTag({ color: "#F39C12", text: "Pending Payment" }) case "paid": return getStatusTag({ color: "#3498DB", text: "Pending Publish" }) - case "complated": + case "completed": return getStatusTag({ color: "#8a8784", text: "Completed" }) case "notAccepted": return getStatusTag({ color: "#d9372b", text: "Not accepted" }) @@ -88,7 +88,7 @@ export function getStatusByTextIntl(status, creditor, intl) { return getStatusTag({ color: "#22a13f", text: intl.formatMessage({id: 'pendingPayment'}) }) case "paid": return getStatusTag({ color: "#22a13f", text: intl.formatMessage({id: 'pendingPublish'}) }) - case "complated": + case "completed": return getStatusTag({ color: "#8a8784", text: intl.formatMessage({id: 'completed'}) }) case "notAccepted": return getStatusTag({ color: "#d9372b", text: intl.formatMessage({id: 'notAccepted'}) })