Skip to content

Commit e9bb109

Browse files
committed
fix: Resolved badge status issue
1 parent 36f97c9 commit e9bb109

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/appstore/src/components/cfds-listing/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,10 @@ const CFDsListing = observer(() => {
138138
case 'poa_failed':
139139
return MT5_ACCOUNT_STATUS.FAILED;
140140
case 'verification_pending':
141+
case 'poa_pending':
141142
return MT5_ACCOUNT_STATUS.PENDING;
142143
case 'needs_verification':
144+
case 'poa_required':
143145
return MT5_ACCOUNT_STATUS.NEEDS_VERIFICATION;
144146
case 'migrated_with_position':
145147
return MT5_ACCOUNT_STATUS.MIGRATED_WITH_POSITION;

packages/shared/src/utils/constants/mt5-login-list-status.ts

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export const MT5_ACCOUNT_STATUS = {
77
MIGRATED_WITHOUT_POSITION: 'migrated_without_position',
88
NEEDS_VERIFICATION: 'needs_verification',
99
PENDING: 'pending',
10+
POA_REQUIRED: 'poa_required',
1011
POA_PENDING: 'poa_pending',
1112
POA_VERIFIED: 'poa_verified',
1213
UNDER_MAINTENANCE: 'under_maintenance',

0 commit comments

Comments
 (0)