# 이슈처리 268
This commit is contained in:
parent
ae56f389c5
commit
b70e62791d
|
@ -20,6 +20,7 @@ import {
|
|||
KEY_ENVIRONMENTS_INFO
|
||||
} from '@app/types';
|
||||
import { environment } from '../../environments/environment';
|
||||
import { DialogService } from '@ucap-webmessenger/ui';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
|
@ -29,6 +30,7 @@ export class AppNativeService {
|
|||
@Inject(UCAP_NATIVE_SERVICE) private nativeService: NativeService,
|
||||
private publicApiService: PublicApiService,
|
||||
private sessionStorageService: SessionStorageService,
|
||||
private dialogService: DialogService,
|
||||
@Inject(DOCUMENT) private document: Document,
|
||||
private ngZone: NgZone,
|
||||
private store: Store<any>,
|
||||
|
@ -38,6 +40,7 @@ export class AppNativeService {
|
|||
subscribe(): void {
|
||||
this.nativeService.logout().subscribe(() => {
|
||||
this.ngZone.run(() => {
|
||||
this.dialogService.closeAll();
|
||||
this.store.dispatch(AuthenticationStore.logoutConfirmation());
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user