Merge branch 'develop' into bugfix/mobile-loader
This commit is contained in:
commit
fbcd2500fe
@ -517,7 +517,6 @@ const ShellWrapper = inject(({ auth, backup }) => {
|
||||
setSnackbarExist,
|
||||
socketHelper,
|
||||
setTheme,
|
||||
getWhiteLabelLogoUrls,
|
||||
whiteLabelLogoUrls,
|
||||
} = settingsStore;
|
||||
const isBase = settingsStore.theme.isBase;
|
||||
|
@ -79,7 +79,6 @@ class AuthStore {
|
||||
this.settingsStore.getCompanyInfoSettings()
|
||||
);
|
||||
}
|
||||
requests.push(this.settingsStore.getWhiteLabelLogoUrls());
|
||||
}
|
||||
}
|
||||
|
||||
@ -101,7 +100,7 @@ class AuthStore {
|
||||
let success = false;
|
||||
if (this.isAuthenticated) {
|
||||
success = this.userStore.isLoaded && this.settingsStore.isLoaded;
|
||||
|
||||
|
||||
success && this.setLanguage();
|
||||
} else {
|
||||
success = this.settingsStore.isLoaded;
|
||||
@ -235,7 +234,7 @@ class AuthStore {
|
||||
get isAuthenticated() {
|
||||
return (
|
||||
this.settingsStore.isLoaded && !!this.settingsStore.socketUrl
|
||||
//|| //this.userStore.isAuthenticated
|
||||
//|| //this.userStore.isAuthenticated
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user