fix(ui): fix sso error tooltip
This commit is contained in:
parent
53ca39100f
commit
90a01ca810
1 changed files with 2 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ class Login extends React.Component {
|
|||
render() {
|
||||
const { errors, loading, authDetails } = this.props;
|
||||
const { CAPTCHA_ENABLED } = this.state;
|
||||
|
||||
console.log(authDetails)
|
||||
return (
|
||||
<div className="flex flex-col md:flex-row" style={{ height: '100vh' }}>
|
||||
<div className={cn('md:w-6/12 relative', stl.left)}>
|
||||
|
|
@ -165,7 +165,7 @@ class Login extends React.Component {
|
|||
) : (
|
||||
<Tooltip
|
||||
delay={0}
|
||||
title={<div>This feature requires an enterprise license.</div>}
|
||||
title={<div>{authDetails.edition === 'ee' ? "SSO has not been configured. Please reach out to your admin." : "This feature requires an enterprise license."}</div>}
|
||||
placement="top"
|
||||
>
|
||||
<Button
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue