mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 00:48:25 +00:00
fix initial count for instanceSSO
This commit is contained in:
parent
af8ac37489
commit
84ab6756fb
1 changed files with 2 additions and 0 deletions
|
|
@ -80,11 +80,13 @@ class SSOConfiguration extends React.Component {
|
|||
|
||||
componentDidMount() {
|
||||
const initialState = this.initializeOptionStates(this.props.ssoOptions);
|
||||
const enabledSSOCount = this.getCountOfEnabledSSO();
|
||||
this.setState({ ...initialState });
|
||||
this.setState({ ssoOptions: this.props.ssoOptions });
|
||||
this.setState({ defaultSSO: this.props.defaultSSO });
|
||||
this.setState({ isAnySSOEnabled: this.props.isAnySSOEnabled });
|
||||
this.setState({ instanceSSO: this.props.instanceSSO });
|
||||
this.setState({ inheritedInstanceSSO: enabledSSOCount });
|
||||
}
|
||||
|
||||
componentDidUpdate(prevProps) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue