From 5cac83a78d6ba5212755fafce2ed25f7c74b04e5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 9 Dec 2020 15:00:02 +0100 Subject: Refactor views component --- client/src/app/+videos/+video-watch/video-watch.component.html | 8 ++------ client/src/app/+videos/+video-watch/video-watch.module.ts | 4 +++- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'client/src/app/+videos') diff --git a/client/src/app/+videos/+video-watch/video-watch.component.html b/client/src/app/+videos/+video-watch/video-watch.component.html index 602214ac5..9cabe3bbc 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.html +++ b/client/src/app/+videos/+video-watch/video-watch.component.html @@ -53,12 +53,8 @@
Published - - - • {{ video.views | myNumberFormatter }} - views - viewers - + • +
diff --git a/client/src/app/+videos/+video-watch/video-watch.module.ts b/client/src/app/+videos/+video-watch/video-watch.module.ts index 21aa33b84..fbda9b9c4 100644 --- a/client/src/app/+videos/+video-watch/video-watch.module.ts +++ b/client/src/app/+videos/+video-watch/video-watch.module.ts @@ -5,6 +5,7 @@ import { SharedMainModule } from '@app/shared/shared-main' import { SharedModerationModule } from '@app/shared/shared-moderation' import { SharedShareModal } from '@app/shared/shared-share-modal' import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription' +import { SharedVideoModule } from '@app/shared/shared-video' import { SharedVideoCommentModule } from '@app/shared/shared-video-comment' import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature' import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist' @@ -32,7 +33,8 @@ import { VideoWatchComponent } from './video-watch.component' SharedModerationModule, SharedGlobalIconModule, SharedVideoCommentModule, - SharedShareModal + SharedShareModal, + SharedVideoModule ], declarations: [ -- cgit v1.2.3