Web:Client:Moved isInit after all requests.

This commit is contained in:
gazizova-vlada 2023-09-01 15:36:09 +03:00
parent 7250bcdc87
commit 4159c3fcfe

View File

@ -84,7 +84,6 @@ class SettingsSetupStore {
initSettings = async () => {
if (this.isInit) return;
this.isInit = true;
if (authStore.isAuthenticated) {
await authStore.settingsStore.getPortalPasswordSettings();
@ -94,6 +93,8 @@ class SettingsSetupStore {
await authStore.settingsStore.getSessionLifetime();
await authStore.settingsStore.getBruteForceProtection();
}
this.isInit = true;
};
setIsLoadingDownloadReport = (state) => {