taylor.dang 4 years ago
parent cd857ee59c
commit bbb73d11bc

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

Loading…
Cancel
Save