# 이슈처리 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 KEY_ENVIRONMENTS_INFO
} from '@app/types'; } from '@app/types';
import { environment } from '../../environments/environment'; import { environment } from '../../environments/environment';
import { DialogService } from '@ucap-webmessenger/ui';
@Injectable({ @Injectable({
providedIn: 'root' providedIn: 'root'
@ -29,6 +30,7 @@ export class AppNativeService {
@Inject(UCAP_NATIVE_SERVICE) private nativeService: NativeService, @Inject(UCAP_NATIVE_SERVICE) private nativeService: NativeService,
private publicApiService: PublicApiService, private publicApiService: PublicApiService,
private sessionStorageService: SessionStorageService, private sessionStorageService: SessionStorageService,
private dialogService: DialogService,
@Inject(DOCUMENT) private document: Document, @Inject(DOCUMENT) private document: Document,
private ngZone: NgZone, private ngZone: NgZone,
private store: Store<any>, private store: Store<any>,
@ -38,6 +40,7 @@ export class AppNativeService {
subscribe(): void { subscribe(): void {
this.nativeService.logout().subscribe(() => { this.nativeService.logout().subscribe(() => {
this.ngZone.run(() => { this.ngZone.run(() => {
this.dialogService.closeAll();
this.store.dispatch(AuthenticationStore.logoutConfirmation()); this.store.dispatch(AuthenticationStore.logoutConfirmation());
}); });
}); });