Skip to content
Snippets Groups Projects
Commit 890e9172 authored by piotr.kupczyk@id.ethz.ch's avatar piotr.kupczyk@id.ethz.ch
Browse files

SSDM-13273 : Admin UI - remember the sizes of side panels between reloads

parent 56f48cd8
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -87,6 +87,7 @@ class PageWithTwoPanels extends React.PureComponent {
direction={{
left: true
}}
width='35%'
>
<div className={classes.additionalPanel}>{additionalPanel}</div>
</ResizableWithOpenbis>
......
......@@ -9,7 +9,7 @@ class ResizableClass extends React.PureComponent {
super(props)
this.state = {
width: '25%'
width: this.props.width || '25%'
}
this.handleResize = this.handleResize.bind(this)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment