💫 Removes splash screen on by default
This commit is contained in:
@@ -19,7 +19,6 @@ import Keys from '@/utils/StoreMutations';
|
||||
import {
|
||||
localStorageKeys,
|
||||
splashScreenTime,
|
||||
visibleComponents as defaultVisibleComponents,
|
||||
language as defaultLanguage,
|
||||
} from '@/utils/defaults';
|
||||
|
||||
@@ -43,7 +42,7 @@ export default {
|
||||
},
|
||||
/* Determine if splash screen should be shown */
|
||||
shouldShowSplash() {
|
||||
return (this.visibleComponents || defaultVisibleComponents).splashScreen;
|
||||
return (this.appConfig.showSplashScreen);
|
||||
},
|
||||
config() {
|
||||
return this.$store.state.config;
|
||||
|
||||
@@ -48,8 +48,6 @@ export const componentVisibility = (appConfig) => {
|
||||
? !usersChoice.hideSettings : visibleComponents.settings,
|
||||
footer: isThere(usersChoice.hideFooter)
|
||||
? !usersChoice.hideFooter : visibleComponents.footer,
|
||||
splashScreen: isThere(usersChoice.hideSplashScreen)
|
||||
? !usersChoice.hideSplashScreen : visibleComponents.splashScreen,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -345,12 +345,6 @@
|
||||
"type": "boolean",
|
||||
"default": "false",
|
||||
"description": "If set to true, the page footer will be hidden"
|
||||
},
|
||||
"hideSplashScreen": {
|
||||
"title": "Hide Splash Screen?",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"description": "If set to true, the loading / splash screen will not be shown"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -438,6 +432,12 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"showSplashScreen": {
|
||||
"title": "Show splash screen",
|
||||
"type": "boolean",
|
||||
"default": "false",
|
||||
"description": "If set to true, a loading screen will be shown"
|
||||
},
|
||||
"allowConfigEdit": {
|
||||
"title": "Allow Config Editing",
|
||||
"type": "boolean",
|
||||
|
||||
Reference in New Issue
Block a user