@opexa/portal-components 0.0.999 → 0.0.1001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -38,6 +38,12 @@ export function KycOpenOnHomeMount(props) {
|
|
|
38
38
|
// Handle rejected verification status
|
|
39
39
|
else if (isRejected) {
|
|
40
40
|
if (isFirstVisit) {
|
|
41
|
+
//show verification locked message after logging in
|
|
42
|
+
if (isVerificationLocked) {
|
|
43
|
+
setkycReminderOpen(true);
|
|
44
|
+
setkycOpen(false);
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
41
47
|
setkycReminderOpen(false);
|
|
42
48
|
setkycOpen(true);
|
|
43
49
|
sessionStorage.setItem('hasSeenKycModal', 'true');
|
|
@@ -50,6 +56,12 @@ export function KycOpenOnHomeMount(props) {
|
|
|
50
56
|
// Handle unverified verification status
|
|
51
57
|
else if (isUnverified) {
|
|
52
58
|
if (isFirstVisit) {
|
|
59
|
+
//show verification locked message after logging in
|
|
60
|
+
if (isVerificationLocked) {
|
|
61
|
+
setkycReminderOpen(true);
|
|
62
|
+
setkycOpen(false);
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
53
65
|
setkycReminderOpen(false);
|
|
54
66
|
setkycOpen(true);
|
|
55
67
|
sessionStorage.setItem('hasSeenKycModal', 'true');
|
|
@@ -113,6 +113,7 @@ export function MobileNumberSignIn() {
|
|
|
113
113
|
console.warn('Failed to updated biometric credentials');
|
|
114
114
|
globalStore.signIn.setOpen(!globalStore.signIn.open);
|
|
115
115
|
}
|
|
116
|
+
globalStore.disclaimer.setOpen(true);
|
|
116
117
|
}
|
|
117
118
|
else {
|
|
118
119
|
console.error('Failed to create token');
|