mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-18 08:03:50 +08:00
Use new providerItem.
This commit is contained in:
@ -344,7 +344,7 @@ class UserEditPage extends React.Component {
|
||||
<Col span={22} >
|
||||
<div style={{marginBottom: 20}}>
|
||||
{
|
||||
this.state.application?.providerObjs.filter(provider => Setting.isProviderVisible(provider)).map((provider, index) => this.renderIdp(provider))
|
||||
this.state.application?.providers.filter(providerItem => Setting.isProviderVisible(providerItem)).map((providerItem, index) => this.renderIdp(providerItem.provider))
|
||||
}
|
||||
</div>
|
||||
</Col>
|
||||
|
Reference in New Issue
Block a user