Skip to content

Commit

Permalink
<BoxEl/> - leave the goalNode visible when collapsing the box
Browse files Browse the repository at this point in the history
  • Loading branch information
lakesare committed Nov 4, 2024
1 parent 21c9596 commit 044b9b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/components/ProofTree/components/BoxEl/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ const BoxEl = (props: MyProps) => {
<Header row1Hyps={tableWithHeader?.row1Hyps} headerInfo={headerInfo}/>
}

{!isCollapsed &&
{isCollapsed ?
<div className="box-insides">
<GoalNode goalNode={props.box.goalNodes[0]}/>
</div> :
<div className="box-insides">
<Hypotheses hypTables={props.box.hypTables}/>

Expand Down

0 comments on commit 044b9b1

Please sign in to comment.