Commit 054c9ef6 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg

Fix panel expansion

parent 77dfbe6a
......@@ -69,8 +69,10 @@ class Component extends PureComponent {
)
}
let expanded = (this.state.overrideToggle !== null) ? this.state.overrideToggle : this.props.expanded
console.log("Expanded discovery", expanded, this.state.overrideToggle, this.props.expanded)
console.log("STATE", this.state)
return (
<Panel onClick={this.actTogglePanel} header="OAuth Service Discovery" eventKey="1" collapsible={true} expanded={expanded}>
<Panel onClick={this.actTogglePanel} header="OpenID Connect Discovery" eventKey="1" collapsible={true} expanded={expanded}>
<FormGroup
className="gutter"
controlId="formBasicText"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment