Skip to content

Commit 3ffe941

Browse files
committed
Put missing info back
1 parent 97feed5 commit 3ffe941

1 file changed

Lines changed: 20 additions & 22 deletions

File tree

‎web/components/answers/compatibility-questions-display.tsx‎

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -583,28 +583,26 @@ export function CompatibilityAnswerBlock(props: {
583583
))}
584584
</Row>
585585
)}
586-
{/*{isAnswered && (*/}
587-
{/* <Col>*/}
588-
{/* {comparedProfile && isAnswered && (*/}
589-
{/* <Row className="w-full justify-end sm:hidden">*/}
590-
{/* <CompatibilityDisplay*/}
591-
{/* question={question}*/}
592-
{/* profile1={profile}*/}
593-
{/* answer1={answer}*/}
594-
{/* profile2={comparedProfile as Profile}*/}
595-
{/* currentUserIsComparedProfile={!fromProfilePage}*/}
596-
{/* currentUser={currentUser}*/}
597-
{/* />*/}
598-
{/* </Row>*/}
599-
{/* )}*/}
600-
{/* {isCurrentUser && isAnswered && (*/}
601-
{/* <Row className="w-full justify-end sm:hidden">*/}
602-
{/* <ImportanceButton importance={answer.importance} onClick={() => setEditOpen(true)} />*/}
603-
{/* </Row>*/}
604-
{/* )}*/}
605-
{/* /!*{question.importance_score == 0 && <div className="text-ink-500 text-sm">Core Question</div>}*!/*/}
606-
{/* </Col>*/}
607-
{/*)}*/}
586+
<Col className={'sm:hidden'}>
587+
{comparedProfile && isAnswered && (
588+
<Row className="w-full justify-end sm:hidden">
589+
<CompatibilityDisplay
590+
question={question}
591+
profile1={profile}
592+
answer1={answer}
593+
profile2={comparedProfile as Profile}
594+
currentUserIsComparedProfile={!fromProfilePage}
595+
currentUser={currentUser}
596+
/>
597+
</Row>
598+
)}
599+
{isCurrentUser && isAnswered && (
600+
<Row className="w-full justify-end sm:hidden">
601+
<ImportanceButton importance={answer.importance} onClick={() => setEditOpen(true)} />
602+
</Row>
603+
)}
604+
{/*{question.importance_score == 0 && <div className="text-ink-500 text-sm">Core Question</div>}*/}
605+
</Col>
608606
{showCommunityInfo && (
609607
<Row className={''}>
610608
{shortenedPopularity && (

0 commit comments

Comments
 (0)