From 59016a67097da507e027e884b995daa09d50ad24 Mon Sep 17 00:00:00 2001 From: leejinho Date: Mon, 30 Mar 2020 18:43:47 +0900 Subject: [PATCH] =?UTF-8?q?bugfix=20::=20=EB=85=B8=ED=8B=B0=20=ED=81=B4?= =?UTF-8?q?=EB=A6=AD=EC=8B=9C=20=EB=8C=80=ED=99=94=20=ED=83=AD=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EC=9D=B4=EB=8F=99=20=ED=9B=84=20=EB=8C=80=ED=99=94?= =?UTF-8?q?=20=EB=B0=A9=20=EC=97=B4=EA=B8=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/pages/messenger/components/main.page.component.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/projects/ucap-webmessenger-app/src/app/pages/messenger/components/main.page.component.ts b/projects/ucap-webmessenger-app/src/app/pages/messenger/components/main.page.component.ts index 6f8f1845..08c0729f 100644 --- a/projects/ucap-webmessenger-app/src/app/pages/messenger/components/main.page.component.ts +++ b/projects/ucap-webmessenger-app/src/app/pages/messenger/components/main.page.component.ts @@ -15,6 +15,7 @@ import * as AppStore from '@app/store'; import * as ChatStore from '@app/store/messenger/chat'; import * as MessageStore from '@app/store/messenger/message'; import * as StatusStore from '@app/store/messenger/status'; +import * as SettingsStore from '@app/store/messenger/settings'; import { Observable, Subscription, of, timer, EMPTY } from 'rxjs'; import { UCAP_NATIVE_SERVICE, NativeService } from '@ucap-webmessenger/native'; @@ -40,7 +41,7 @@ import { LoginResponse } from '@ucap-webmessenger/protocol-authentication'; import { OpenProfileOptions } from '@ucap-webmessenger/protocol-buddy'; import { DaesangProtocolService, SmsUtils } from '@ucap-webmessenger/daesang'; import { CallService, ConferenceService } from '@ucap-webmessenger/api-prompt'; -import { EnvironmentsInfo, KEY_ENVIRONMENTS_INFO } from '@app/types'; +import { EnvironmentsInfo, KEY_ENVIRONMENTS_INFO, MainMenu } from '@app/types'; import { SessionStorageService, LocalStorageService @@ -219,6 +220,11 @@ export class MainPageComponent implements OnInit, OnDestroy { this.chatOpenRoomSubscription = this.nativeService .chatOpenRoom() .subscribe(roomSeq => { + this.store.dispatch( + SettingsStore.selectedGnbMenuIndex({ + menuIndex: MainMenu.Chat + }) + ); this.store.dispatch(ChatStore.selectedRoom({ roomSeq })); });