From b70e62791d607f4df83d5abdd107c9a591324ebe Mon Sep 17 00:00:00 2001 From: leejinho Date: Tue, 18 Feb 2020 16:19:59 +0900 Subject: [PATCH] =?UTF-8?q?#=20=EC=9D=B4=EC=8A=88=EC=B2=98=EB=A6=AC=20268?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ucap-webmessenger-app/src/app/services/native.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/ucap-webmessenger-app/src/app/services/native.service.ts b/projects/ucap-webmessenger-app/src/app/services/native.service.ts index 03e44528..49316c53 100644 --- a/projects/ucap-webmessenger-app/src/app/services/native.service.ts +++ b/projects/ucap-webmessenger-app/src/app/services/native.service.ts @@ -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, @@ -38,6 +40,7 @@ export class AppNativeService { subscribe(): void { this.nativeService.logout().subscribe(() => { this.ngZone.run(() => { + this.dialogService.closeAll(); this.store.dispatch(AuthenticationStore.logoutConfirmation()); }); });