Web: Client: Fixed property name, added missing property

This commit is contained in:
Ilya Oleshko 2020-12-04 11:58:15 +03:00
parent d03584fcdd
commit c32fc83399

View File

@ -41,13 +41,14 @@ class App extends React.Component {
getModules,
setIsLoaded,
getIsAuthenticated,
isAuthenticated,
} = this.props;
getIsAuthenticated();
const requests = [];
if (!getIsAuthenticated) {
if (!isAuthenticated) {
requests.push(getPortalSettings());
} else if (!window.location.pathname.includes("confirm/EmailActivation")) {
requests.push(getUser());