diff --git a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts index 93559fa7..336d5cf8 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts @@ -78,9 +78,6 @@ export class TopBarComponent implements OnInit, OnDestroy { private daesangProtocolService: DaesangProtocolService, private logger: NGXLogger ) { - this.sessionVerinfo = this.sessionStorageService.get( - KEY_VER_INFO - ); } ngOnInit() { @@ -96,6 +93,10 @@ export class TopBarComponent implements OnInit, OnDestroy { KEY_LOGIN_INFO ); + this.sessionVerinfo = this.sessionStorageService.get( + KEY_VER_INFO + ); + // WebLink init.. this.initWebLink(); }) @@ -105,6 +106,7 @@ export class TopBarComponent implements OnInit, OnDestroy { this.updateInfo$ = this.store.pipe( select(AppStore.SettingSelector.UpdateSelector.updateInfo) ); + } initWebLink(): void {