You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After trying to use the stateHelper to reorganize my app's menu layout I'm getting an error;
Error: Could not resolve 'app.user.home' from state ''
at Object.transitionTo (ionic.bundle.js:49177)
at Object.go (ionic.bundle.js:49110)
at app.js:220
This happens when my app loads and $state.go('app.user.home') runs on app.js:220
My situation is that admin users are shown a "hamburger stack" icon that opens a side menu with certain views only admins can navigate to.
When a non-admin enters the same view they are shown a "home" icon instead that links to the home view.
Both admins and non-admins have the home view which has ui-sref links to additional views they can both navigate to.
When the "hamburger icon" is shown for an admin the ui-sref to the home view is moved to the side menu.
After trying to use the stateHelper to reorganize my app's menu layout I'm getting an error;
This happens when my app loads and
$state.go('app.user.home')
runs on app.js:220My situation is that admin users are shown a "hamburger stack" icon that opens a side menu with certain views only admins can navigate to.
When a non-admin enters the same view they are shown a "home" icon instead that links to the home view.
Both admins and non-admins have the home view which has
ui-sref
links to additional views they can both navigate to.When the "hamburger icon" is shown for an admin the
ui-sref
to the home view is moved to the side menu.This is my
stateHelperProvider
code;My side menu, menu.html, template;
And then my home view;
The text was updated successfully, but these errors were encountered: