From 51ee16ed93abe78b3ce2d9486903dbd08e3adf7f Mon Sep 17 00:00:00 2001 From: Sercan Yemen <117369+srcn@users.noreply.github.com> Date: Wed, 24 Aug 2022 11:06:58 +0300 Subject: [PATCH] (app.resolvers) Removed the extra user getter call since the user data already comes with the sign-in process to prevent confusion for the newcomers --- src/app/app.resolvers.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/app/app.resolvers.ts b/src/app/app.resolvers.ts index f1a874f0..6da08ee2 100644 --- a/src/app/app.resolvers.ts +++ b/src/app/app.resolvers.ts @@ -6,7 +6,6 @@ import { NavigationService } from 'app/core/navigation/navigation.service'; import { NotificationsService } from 'app/layout/common/notifications/notifications.service'; import { QuickChatService } from 'app/layout/common/quick-chat/quick-chat.service'; import { ShortcutsService } from 'app/layout/common/shortcuts/shortcuts.service'; -import { UserService } from 'app/core/user/user.service'; @Injectable({ providedIn: 'root' @@ -21,8 +20,7 @@ export class InitialDataResolver implements Resolve private _navigationService: NavigationService, private _notificationsService: NotificationsService, private _quickChatService: QuickChatService, - private _shortcutsService: ShortcutsService, - private _userService: UserService + private _shortcutsService: ShortcutsService ) { } @@ -45,8 +43,7 @@ export class InitialDataResolver implements Resolve this._messagesService.getAll(), this._notificationsService.getAll(), this._quickChatService.getChats(), - this._shortcutsService.getAll(), - this._userService.get() + this._shortcutsService.getAll() ]); } }