don't hide free response panel on open resolve
This commit is contained in:
parent
adb809f973
commit
d9c8925ea0
|
@ -157,9 +157,7 @@ export function AnswersPanel(props: {
|
||||||
<div className="pb-4 text-gray-500">No answers yet...</div>
|
<div className="pb-4 text-gray-500">No answers yet...</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{outcomeType === 'FREE_RESPONSE' &&
|
{outcomeType === 'FREE_RESPONSE' && tradingAllowed(contract) && (
|
||||||
tradingAllowed(contract) &&
|
|
||||||
(!resolveOption || resolveOption === 'CANCEL') && (
|
|
||||||
<CreateAnswerPanel contract={contract} />
|
<CreateAnswerPanel contract={contract} />
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user