# 이슈처리 268

This commit is contained in:
leejinho 2020-02-18 16:19:59 +09:00
parent ae56f389c5
commit b70e62791d

View File

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