diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:10:17 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 67ed6552b831df66713bac9e672738796128d33f (patch) | |
tree | 59c97d41e0b49d75a90aa3de987968ab9b1ff447 /client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts | |
parent | 0c4bacbff53bc732f5a2677d62a6ead7752e2405 (diff) | |
download | PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.gz PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.zst PeerTube-67ed6552b831df66713bac9e672738796128d33f.zip |
Reorganize client shared modules
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts index 9ce3fbc6d..eb7ac32ae 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts +++ b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts | |||
@@ -1,19 +1,16 @@ | |||
1 | import { BytesPipe } from 'ngx-pipes' | ||
2 | import { Subscription } from 'rxjs' | ||
1 | import { HttpEventType, HttpResponse } from '@angular/common/http' | 3 | import { HttpEventType, HttpResponse } from '@angular/common/http' |
2 | import { Component, ElementRef, EventEmitter, OnDestroy, OnInit, Output, ViewChild } from '@angular/core' | 4 | import { Component, ElementRef, EventEmitter, OnDestroy, OnInit, Output, ViewChild } from '@angular/core' |
3 | import { Router } from '@angular/router' | 5 | import { Router } from '@angular/router' |
6 | import { AuthService, CanComponentDeactivate, Notifier, ServerService, UserService } from '@app/core' | ||
7 | import { scrollToTop } from '@app/helpers' | ||
8 | import { FormValidatorService } from '@app/shared/shared-forms' | ||
9 | import { VideoCaptionService, VideoEdit, VideoService } from '@app/shared/shared-main' | ||
10 | import { VideoSend } from '@app/videos/+video-edit/video-add-components/video-send' | ||
4 | import { LoadingBarService } from '@ngx-loading-bar/core' | 11 | import { LoadingBarService } from '@ngx-loading-bar/core' |
5 | import { BytesPipe } from 'ngx-pipes' | ||
6 | import { Subscription } from 'rxjs' | ||
7 | import { VideoPrivacy } from '../../../../../../shared/models/videos' | ||
8 | import { AuthService, Notifier, ServerService } from '../../../core' | ||
9 | import { VideoEdit } from '../../../shared/video/video-edit.model' | ||
10 | import { VideoService } from '../../../shared/video/video.service' | ||
11 | import { I18n } from '@ngx-translate/i18n-polyfill' | 12 | import { I18n } from '@ngx-translate/i18n-polyfill' |
12 | import { VideoSend } from '@app/videos/+video-edit/video-add-components/video-send' | 13 | import { VideoPrivacy } from '@shared/models' |
13 | import { CanComponentDeactivate } from '@app/shared/guards/can-deactivate-guard.service' | ||
14 | import { FormValidatorService, UserService } from '@app/shared' | ||
15 | import { VideoCaptionService } from '@app/shared/video-caption' | ||
16 | import { scrollToTop } from '@app/shared/misc/utils' | ||
17 | 14 | ||
18 | @Component({ | 15 | @Component({ |
19 | selector: 'my-video-upload', | 16 | selector: 'my-video-upload', |