Skip to content

Commit

Permalink
chore: remove toast and push notification for poi and poa after first…
Browse files Browse the repository at this point in the history
… submittion (#7959)

Co-authored-by: Jim Daniels Wasswa <104334373+jim-deriv@users.noreply.github.com>
  • Loading branch information
suisin-deriv and jim-deriv committed Mar 30, 2023
1 parent cbfed07 commit a3aa5a8
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions packages/core/src/Stores/notification-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,16 +409,12 @@ export default class NotificationStore extends BaseStore {
const svg_needs_poi_poa =
cr_account &&
status.includes('allow_document_upload') &&
(identity?.status === 'none' || identity?.status === 'rejected') &&
(document?.status === 'none' || document?.status === 'rejected');
identity?.status === 'none' &&
document?.status === 'none';
const svg_needs_poa =
cr_account &&
status.includes('allow_document_upload') &&
(document?.status === 'none' || document?.status === 'rejected');
cr_account && status.includes('allow_document_upload') && document?.status === 'none';
const svg_needs_poi =
cr_account &&
status.includes('allow_document_upload') &&
(identity?.status === 'none' || identity?.status === 'rejected');
cr_account && status.includes('allow_document_upload') && identity?.status === 'none';
const svg_poi_expired = cr_account && identity?.status === 'expired';

this.addVerificationNotifications(
Expand Down

0 comments on commit a3aa5a8

Please sign in to comment.