mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5009] close all the dialogs after false canActivate event (#5312)
* close all the dialogs after false canActivate event * Update auth-guard-bpm.service.spec.ts * sso fix * fix lint
This commit is contained in:
committed by
Denys Vuika
parent
d7e56b641e
commit
9c83c35e61
@@ -21,6 +21,7 @@ import { AppConfigService } from '../app-config/app-config.service';
|
||||
import { AuthenticationService } from './authentication.service';
|
||||
import { AuthGuardBase } from './auth-guard-base';
|
||||
import { Observable } from 'rxjs';
|
||||
import { MatDialog } from '@angular/material';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
@@ -29,8 +30,10 @@ export class AuthGuardBpm extends AuthGuardBase {
|
||||
|
||||
constructor(authenticationService: AuthenticationService,
|
||||
router: Router,
|
||||
appConfigService: AppConfigService) {
|
||||
super(authenticationService, router, appConfigService);
|
||||
appConfigService: AppConfigService,
|
||||
dialog: MatDialog
|
||||
) {
|
||||
super(authenticationService, router, appConfigService, dialog);
|
||||
}
|
||||
|
||||
checkLogin(_: ActivatedRouteSnapshot, redirectUrl: string): Observable<boolean> | Promise<boolean> | boolean {
|
||||
|
Reference in New Issue
Block a user