Fix lint
authorChocobozzz <me@florianbigard.com>
Mon, 8 Jan 2018 09:46:41 +0000 (10:46 +0100)
committerChocobozzz <me@florianbigard.com>
Mon, 8 Jan 2018 09:46:41 +0000 (10:46 +0100)
client/src/app/videos/+video-watch/video-watch.component.ts
server/lib/activitypub/process/process-create.ts

index 01e4bbf4af11c8b18445f5e7467d37888359f240..a27cacba3281152fd68ad2ce7676040b3f7c3d84 100644 (file)
@@ -28,7 +28,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
   @ViewChild('videoShareModal') videoShareModal: VideoShareComponent
   @ViewChild('videoReportModal') videoReportModal: VideoReportComponent
 
-  otherVideos: Video[] = []
   otherVideosDisplayed: Video[] = []
 
   error = false
@@ -47,6 +46,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
   videoHTMLDescription = ''
   likesBarTooltipText = ''
 
+  private otherVideos: Video[] = []
   private paramsSub: Subscription
 
   constructor (
index a97f6ae83b440d82c913d985a2087d113ee990cb..32be37e2de534e617c889418cb9d48c8dcd9f71d 100644 (file)
@@ -13,7 +13,6 @@ import { VideoModel } from '../../../models/video/video'
 import { VideoAbuseModel } from '../../../models/video/video-abuse'
 import { VideoCommentModel } from '../../../models/video/video-comment'
 import { VideoFileModel } from '../../../models/video/video-file'
-import { VideoShareModel } from '../../../models/video/video-share'
 import { getOrCreateActorAndServerAndModel } from '../actor'
 import { forwardActivity, getActorsInvolvedInVideo } from '../send/misc'
 import { generateThumbnailFromUrl } from '../videos'