1
0
mirror of https://github.com/covidpass-org/covidpass.git synced 2025-02-23 15:07:44 +01:00

added special case to show GREEN for 1 shot of JANSSEN

This commit is contained in:
Billy Lo 2021-09-21 18:57:50 -04:00
parent 645a05bc9b
commit 0955a35921

View File

@ -106,7 +106,7 @@ export class Payload {
this.receipt = body.receipt;
this.rawData = body.rawData;
if (body.receipt.numDoses > 1) {
if (body.receipt.numDoses > 1 || body.receipt.vaccineName.includes('JANSSEN')) {
this.backgroundColor = COLORS.GREEN;
} else {
this.backgroundColor = COLORS.YELLOW;