Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOTFIX: Decentralized Verification feedback #3 #4774

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lang/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@
"label.valid_for": "Vàlid per",
"label.verification_process": "procés de verificació",
"label.verification_rejected": "Verificació rebutjada",
"label.verification_status": "Estat de verificació",
"label.verification_status": "Estat d'elegibilitat de GIVbacks",
"label.verified": "Verificat",
"label.verified_projects": "Projectes Avaluats",
"label.verified_status_for": "Elegibilitat per a GIVbacks per a",
Expand Down
2 changes: 1 addition & 1 deletion lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@
"label.valid_for": "Válido por",
"label.verification_process": "proceso de verificación",
"label.verification_rejected": "Verificación rechazada",
"label.verification_status": "Estado de verificación",
"label.verification_status": "Estado de elegibilidad de GIVbacks",
"label.verified": "Verificado",
"label.verified_projects": "Proyectos Evaluados",
"label.verified_status_for": "Elegibilidad para GIVbacks para",
Expand Down
10 changes: 6 additions & 4 deletions src/components/VerificationBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const VerificationBadge: FC<IProps> = ({ isVerified, verificationStatus }) => {
const verStatus = isVerified
? EVerificationStatus.VERIFIED
: verificationStatus;

let label, badgeStatus;
switch (verStatus) {
case EVerificationStatus.REJECTED:
Expand All @@ -21,10 +22,11 @@ const VerificationBadge: FC<IProps> = ({ isVerified, verificationStatus }) => {
label = 'Submitted';
badgeStatus = EBadgeStatus.GIVETH;
break;
case EVerificationStatus.VERIFIED:
label = 'Eligible';
badgeStatus = EBadgeStatus.SUCCESS;
break;
// NOTE: Commenting this as we should only display according to GIVback eligibility
// case EVerificationStatus.VERIFIED:
// label = 'Eligible';
// badgeStatus = EBadgeStatus.SUCCESS;
// break;
case EVerificationStatus.DRAFT:
label = 'Incomplete';
badgeStatus = EBadgeStatus.WARNING;
Expand Down
Loading