This commit is contained in:
@@ -14,7 +14,7 @@ function addNavItem(title, icon, route, navItems, key, testid) {
|
||||
});
|
||||
}
|
||||
|
||||
function initNavPanal() {
|
||||
function initNavPanel() {
|
||||
let key = 0;
|
||||
let sub = [];
|
||||
|
||||
@@ -777,8 +777,18 @@ export default function initialize() {
|
||||
await window.$gz.translation.cacheTranslations(
|
||||
window.$gz.translation.coreKeys
|
||||
);
|
||||
await initNavPanal();
|
||||
initNavPanel();
|
||||
await getUserOptions();
|
||||
|
||||
//check for known password and a purchased licensed mode
|
||||
if (
|
||||
window.$gz.store.state.knownPassword &&
|
||||
(window.$gz.store.state.globalSettings.licenseStatus == 3 || //ActivePurchased = 3,
|
||||
window.$gz.store.state.globalSettings.licenseStatus == 4) // ExpiredPurchased = 4
|
||||
) {
|
||||
window.$gz.store.commit("setHomePage", "/home-password");
|
||||
}
|
||||
|
||||
resolve();
|
||||
} catch (err) {
|
||||
reject(err);
|
||||
|
||||
Reference in New Issue
Block a user