Fixed initialize bug for customer login
This commit is contained in:
@@ -63,7 +63,7 @@ todo: add tests for the following:
|
|||||||
- datafilter form
|
- datafilter form
|
||||||
- picklist editor form
|
- picklist editor form
|
||||||
|
|
||||||
|
todo: ABOUT form customer user type 4 or 5 should NOT show any License block, License options block. Keep server block it might help troubleshoot
|
||||||
todo: new widget
|
todo: new widget
|
||||||
- There should be a new option (in addition to duplicate) within the existing widget form because it makes sense to want to make a new one while editing previous one
|
- There should be a new option (in addition to duplicate) within the existing widget form because it makes sense to want to make a new one while editing previous one
|
||||||
- Plus you could have arrived there from anywhere, don't want to have to reload a big list just to add a new one
|
- Plus you could have arrived there from anywhere, don't want to have to reload a big list just to add a new one
|
||||||
|
|||||||
@@ -711,7 +711,8 @@ export default function initialize() {
|
|||||||
window.$gz.role.AUTHORIZATION_ROLES.CustomerFull,
|
window.$gz.role.AUTHORIZATION_ROLES.CustomerFull,
|
||||||
window.$gz.role.AUTHORIZATION_ROLES.CustomerLimited
|
window.$gz.role.AUTHORIZATION_ROLES.CustomerLimited
|
||||||
]) &&
|
]) &&
|
||||||
(window.$gz.store.userType == 4 || window.$gz.store.userType == 5)
|
(window.$gz.store.state.userType == 4 ||
|
||||||
|
window.$gz.store.state.userType == 5)
|
||||||
) {
|
) {
|
||||||
//clear sublevel array
|
//clear sublevel array
|
||||||
sub = [];
|
sub = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user