diff options
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add.component.ts')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add.component.ts | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/client/src/app/videos/+video-edit/video-add.component.ts b/client/src/app/videos/+video-edit/video-add.component.ts index 76bfbb515..989addbd7 100644 --- a/client/src/app/videos/+video-edit/video-add.component.ts +++ b/client/src/app/videos/+video-edit/video-add.component.ts | |||
@@ -1,25 +1,23 @@ | |||
1 | import { HttpEventType, HttpResponse } from '@angular/common/http' | ||
1 | import { Component, OnInit, ViewChild } from '@angular/core' | 2 | import { Component, OnInit, ViewChild } from '@angular/core' |
2 | import { FormBuilder, FormGroup } from '@angular/forms' | 3 | import { FormBuilder, FormGroup } from '@angular/forms' |
3 | import { Router } from '@angular/router' | 4 | import { Router } from '@angular/router' |
4 | |||
5 | import { NotificationsService } from 'angular2-notifications' | 5 | import { NotificationsService } from 'angular2-notifications' |
6 | 6 | import { VideoService } from 'app/shared/video/video.service' | |
7 | import { VideoCreate } from '../../../../../shared' | ||
8 | import { AuthService, ServerService } from '../../core' | ||
7 | import { | 9 | import { |
8 | FormReactive, | 10 | FormReactive, |
9 | VIDEO_NAME, | ||
10 | VIDEO_CATEGORY, | 11 | VIDEO_CATEGORY, |
11 | VIDEO_LICENCE, | ||
12 | VIDEO_LANGUAGE, | ||
13 | VIDEO_DESCRIPTION, | ||
14 | VIDEO_TAGS, | ||
15 | VIDEO_CHANNEL, | 12 | VIDEO_CHANNEL, |
13 | VIDEO_DESCRIPTION, | ||
16 | VIDEO_FILE, | 14 | VIDEO_FILE, |
17 | VIDEO_PRIVACY | 15 | VIDEO_LANGUAGE, |
16 | VIDEO_LICENCE, | ||
17 | VIDEO_NAME, | ||
18 | VIDEO_PRIVACY, | ||
19 | VIDEO_TAGS | ||
18 | } from '../../shared' | 20 | } from '../../shared' |
19 | import { AuthService, ServerService } from '../../core' | ||
20 | import { VideoService } from '../shared' | ||
21 | import { VideoCreate } from '../../../../../shared' | ||
22 | import { HttpEventType, HttpResponse } from '@angular/common/http' | ||
23 | 21 | ||
24 | @Component({ | 22 | @Component({ |
25 | selector: 'my-videos-add', | 23 | selector: 'my-videos-add', |