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'
let resolutionColor = 'text-primary'
let resolutionString = 'Yes'
let resolutionString = 'YES'
switch (resolution) {
case 'YES':
break
case 'NO':
resolutionColor = 'text-red-500'
resolutionString = 'No'
resolutionString = 'NO'
break
case 'CANCEL':
resolutionColor = 'text-yellow-500'