Capitalize yes/no resolution outcomes

This commit is contained in:
Ian Philips 2022-09-03 07:29:35 -06:00
parent 272658e5dc
commit 0938368e30

View File

@ -22,13 +22,13 @@ export function getHtml(parsedReq: ParsedRequest) {
const hideAvatar = creatorAvatarUrl ? '' : 'hidden' const hideAvatar = creatorAvatarUrl ? '' : 'hidden'
let resolutionColor = 'text-primary' let resolutionColor = 'text-primary'
let resolutionString = 'Yes' let resolutionString = 'YES'
switch (resolution) { switch (resolution) {
case 'YES': case 'YES':
break break
case 'NO': case 'NO':
resolutionColor = 'text-red-500' resolutionColor = 'text-red-500'
resolutionString = 'No' resolutionString = 'NO'
break break
case 'CANCEL': case 'CANCEL':
resolutionColor = 'text-yellow-500' resolutionColor = 'text-yellow-500'