Handle free response resolution
This commit is contained in:
parent
1f2bdf40d0
commit
96a378f25f
|
@ -774,8 +774,17 @@ function NotificationTextLabel(props: {
|
||||||
)
|
)
|
||||||
if (sourceText === 'CANCEL') return <CancelLabel />
|
if (sourceText === 'CANCEL') return <CancelLabel />
|
||||||
if (sourceText === 'MKT' || sourceText === 'PROB') return <MultiLabel />
|
if (sourceText === 'MKT' || sourceText === 'PROB') return <MultiLabel />
|
||||||
|
|
||||||
// Numeric market
|
// Numeric market
|
||||||
return <NumericValueLabel value={parseFloat(sourceText)} />
|
if (parseFloat(sourceText))
|
||||||
|
return <NumericValueLabel value={parseFloat(sourceText)} />
|
||||||
|
|
||||||
|
// Free response market
|
||||||
|
return (
|
||||||
|
<div className={className ? className : 'line-clamp-1 text-blue-400'}>
|
||||||
|
<Linkify text={sourceText} />
|
||||||
|
</div>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Close date will be a number - it looks better without it
|
// Close date will be a number - it looks better without it
|
||||||
|
|
Loading…
Reference in New Issue
Block a user