edit
This commit is contained in:
@ -71,7 +71,7 @@ export class AuthGuard extends ACLGuard {
|
|||||||
switchMap(res => {
|
switchMap(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
this.srv1.setAbility(res.abilities || []);
|
this.srv1.setAbility(res.abilities || []);
|
||||||
// this.menuService.resume();
|
this.menuService.resume();
|
||||||
}
|
}
|
||||||
if (type === 1) {
|
if (type === 1) {
|
||||||
return super.canActivate(route, state);
|
return super.canActivate(route, state);
|
||||||
|
|||||||
Reference in New Issue
Block a user