taylor.dang 4 years ago
parent cd857ee59c
commit bbb73d11bc

@ -50,7 +50,7 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
} else {
sessionStorage.setItem('roleNum', '1');
var roleTemplValue = "guest";
if (getRoleMenulist(window.currentUser.role)[0].value) {
if (getRoleMenulist(window.currentUser.role)[0]) {
roleTemplValue = getRoleMenulist(window.currentUser.role)[0].value;
}
sessionStorage.setItem('role', roleTemplValue);

Loading…
Cancel
Save