Fix user level for request status
parent
61ccd6eeb9
commit
48728321d9
|
@ -25,7 +25,7 @@ export class LoginService {
|
|||
if (user && user.token) {
|
||||
// store user details and jwt token in local storage to keep user logged in between page refreshes
|
||||
localStorage.setItem('currentUser', JSON.stringify(user));
|
||||
if (user.permission >= 3) {
|
||||
if (user.permission >= 2) {
|
||||
const fraction = user.squad.fraction;
|
||||
this.awardingService.checkUnprocessedAwards(fraction);
|
||||
this.promotionService.checkUnconfirmedPromotions(fraction);
|
||||
|
|
Loading…
Reference in New Issue