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
1 changed files with 1 additions and 1 deletions

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;