don't hide free response panel on open resolve
This commit is contained in:
parent
adb809f973
commit
d9c8925ea0
|
@ -157,11 +157,9 @@ 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) &&
|
<CreateAnswerPanel contract={contract} />
|
||||||
(!resolveOption || resolveOption === 'CANCEL') && (
|
)}
|
||||||
<CreateAnswerPanel contract={contract} />
|
|
||||||
)}
|
|
||||||
|
|
||||||
{(user?.id === creatorId || (isAdmin && needsAdminToResolve(contract))) &&
|
{(user?.id === creatorId || (isAdmin && needsAdminToResolve(contract))) &&
|
||||||
!resolution && (
|
!resolution && (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user