Web:Client:Moved isInit after all requests.
This commit is contained in:
parent
7250bcdc87
commit
4159c3fcfe
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user