better scroll behavior on errors in bottom panel
This commit is contained in:
parent
60a7d12857
commit
431e542791
1 changed files with 4 additions and 2 deletions
|
|
@ -22,10 +22,12 @@ export function BottomPanel(props: {errors: TraceableError[]}) {
|
||||||
<div className="errorStatus">
|
<div className="errorStatus">
|
||||||
<PersistentDetails initiallyOpen={false} localStorageKey="errorsExpanded">
|
<PersistentDetails initiallyOpen={false} localStorageKey="errorsExpanded">
|
||||||
<summary>{props.errors.length} errors</summary>
|
<summary>{props.errors.length} errors</summary>
|
||||||
{props.errors.map(({message})=>
|
<div style={{maxHeight: '25vh', overflow: 'auto'}}>
|
||||||
|
{props.errors.map(({message, shapeUid})=>
|
||||||
<div>
|
<div>
|
||||||
{message}
|
{shapeUid}: {message}
|
||||||
</div>)}
|
</div>)}
|
||||||
|
</div>
|
||||||
</PersistentDetails>
|
</PersistentDetails>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue