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() ]); } }