Display N/A instead of cancel

This commit is contained in:
jahooma 2021-12-18 18:37:37 -06:00
parent 86e323bf25
commit 77291956bc
3 changed files with 5 additions and 3 deletions

View File

@ -294,5 +294,5 @@ function NoLabel() {
}
function CancelLabel() {
return <span className="text-yellow-400">CANCEL</span>
return <span className="text-yellow-400">N/A</span>
}

View File

@ -155,7 +155,9 @@ export const ContractOverview = (props: {
{resolution ? (
<Col className="text-4xl mt-8 md:mt-0 md:ml-4 md:mr-6 items-end self-center md:self-start">
<div className="text-xl text-gray-500">Resolved</div>
<div className={resolutionColor}>{resolution}</div>
<div className={resolutionColor}>
{resolution === 'CANCEL' ? 'N/A' : resolution}
</div>
</Col>
) : (
<Col className="text-4xl mt-8 md:mt-0 md:ml-4 md:mr-6 text-primary items-end self-center md:self-start">

View File

@ -61,7 +61,7 @@ export function YesNoCancelSelector(props: {
onClick={() => onSelect('CANCEL')}
className={btnClassName}
>
CANCEL
N/A
</Button>
</Row>
)