Web: Fix call api ssov2 if portal in startup
This commit is contained in:
parent
04d22e4654
commit
5e5d0c99ef
@ -26,7 +26,7 @@ const SingleSignOn = (props) => {
|
||||
const [isSmallWindow, setIsSmallWindow] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
load();
|
||||
isSSOAvailable && load();
|
||||
onCheckView();
|
||||
window.addEventListener("resize", onCheckView);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user