Capitalize yes/no resolution outcomes
This commit is contained in:
parent
272658e5dc
commit
0938368e30
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user