diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 9b3c3f32..44205157 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -63,7 +63,7 @@ todo: add tests for the following: - datafilter 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 - 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 diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 165b5ef6..1341bfa1 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -711,7 +711,8 @@ export default function initialize() { window.$gz.role.AUTHORIZATION_ROLES.CustomerFull, 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 sub = [];