From af75e2d8df92d5d602e11353536ec6804a25f16f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 16 Jun 2020 13:51:50 +0200 Subject: Correctly fix client build --- .../account-video-channels/account-video-channels.component.ts | 3 +-- client/src/app/search/search.component.ts | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts index 2e5c5aae2..eba1acfa1 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts @@ -1,7 +1,7 @@ import { from, Subject, Subscription } from 'rxjs' import { concatMap, map, switchMap, tap } from 'rxjs/operators' import { Component, OnDestroy, OnInit } from '@angular/core' -import { UserService } from '@app/shared' +import { User, UserService } from '@app/shared' import { Account } from '@app/shared/account/account.model' import { AccountService } from '@app/shared/account/account.service' import { ScreenService } from '@app/shared/misc/screen.service' @@ -11,7 +11,6 @@ import { VideoChannelService } from '@app/shared/video-channel/video-channel.ser import { VideoSortField } from '@app/shared/video/sort-field.type' import { Video } from '@app/shared/video/video.model' import { VideoService } from '@app/shared/video/video.service' -import { User } from '@shared/models' @Component({ selector: 'my-account-video-channels', diff --git a/client/src/app/search/search.component.ts b/client/src/app/search/search.component.ts index bed5de79e..6486085be 100644 --- a/client/src/app/search/search.component.ts +++ b/client/src/app/search/search.component.ts @@ -5,7 +5,7 @@ import { AuthService, Notifier, ServerService } from '@app/core' import { HooksService } from '@app/core/plugins/hooks.service' import { AdvancedSearch } from '@app/search/advanced-search.model' import { SearchService } from '@app/search/search.service' -import { UserService } from '@app/shared' +import { User, UserService } from '@app/shared' import { immutableAssign } from '@app/shared/misc/utils' import { ComponentPagination } from '@app/shared/rest/component-pagination.model' import { VideoChannel } from '@app/shared/video-channel/video-channel.model' @@ -13,7 +13,7 @@ import { MiniatureDisplayOptions } from '@app/shared/video/video-miniature.compo import { Video } from '@app/shared/video/video.model' import { MetaService } from '@ngx-meta/core' import { I18n } from '@ngx-translate/i18n-polyfill' -import { ServerConfig, User } from '@shared/models' +import { ServerConfig } from '@shared/models' import { SearchTargetType } from '@shared/models/search/search-target-query.model' @Component({ -- cgit v1.2.3