|
|
@ -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);
|
|
|
|