This commit is contained in:
2020-01-31 22:54:07 +00:00
parent 3d6263be3d
commit eca2f34ba6
3 changed files with 9 additions and 3 deletions

View File

@@ -694,12 +694,14 @@ export default function initialize() {
window.$gz.role.hasRole([
window.$gz.role.AUTHORIZATION_ROLES.CustomerFull,
window.$gz.role.AUTHORIZATION_ROLES.CustomerLimited
])
]) &&
(window.$gz.store.userType == 4 || window.$gz.store.userType == 5)
) {
//clear sublevel array
sub = [];
//Set homePage in store to dashboard
//Set homePage in store to customer csr for this user type
window.$gz.store.commit("setHomePage", "/customer-csr-list");
//CSR LIST subitem