mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +08:00
fix: sign In button in the result page has broken (#646)
* fix: sign In button in the result page has broken Signed-off-by: Steve0x2a <stevesough@gmail.com> * fix: code format Signed-off-by: Steve0x2a <stevesough@gmail.com>
This commit is contained in:
@ -66,7 +66,7 @@ class ResultPage extends React.Component {
|
||||
extra={[
|
||||
<Button type="primary" key="login" onClick={() => {
|
||||
let linkInStorage = sessionStorage.getItem("loginURL")
|
||||
if (linkInStorage != "") {
|
||||
if (linkInStorage !== null && linkInStorage !== "") {
|
||||
Setting.goToLink(linkInStorage)
|
||||
} else {
|
||||
Setting.goToLogin(this, application)
|
||||
|
Reference in New Issue
Block a user