improvement: fix backend login buttons not showing login progress (#1658)
This commit is contained in:
parent
a9666aadd4
commit
bc5b155cde
@ -103,6 +103,7 @@ class App extends React.Component {
|
||||
onLogin: this.handleLogin.bind(this),
|
||||
error: auth && auth.get('error'),
|
||||
isFetching: auth && auth.get('isFetching'),
|
||||
inProgress: (auth && auth.get('isFetching')) || false,
|
||||
siteId: this.props.config.getIn(['backend', 'site_domain']),
|
||||
base_url: this.props.config.getIn(['backend', 'base_url'], null),
|
||||
authEndpoint: this.props.config.getIn(['backend', 'auth_endpoint']),
|
||||
|
@ -22,6 +22,9 @@ const LoginButton = styled.button`
|
||||
${shadows.dropDeep};
|
||||
${buttons.default};
|
||||
${buttons.gray};
|
||||
&[disabled] {
|
||||
${buttons.disabled};
|
||||
}
|
||||
|
||||
padding: 0 12px;
|
||||
margin-top: -40px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user