diff options
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts b/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts index 213c42333..d0bd1f54d 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts +++ b/client/src/app/videos/+video-edit/video-add-components/video-import-url.component.ts | |||
@@ -1,18 +1,14 @@ | |||
1 | import { map, switchMap } from 'rxjs/operators' | ||
1 | import { Component, EventEmitter, OnInit, Output } from '@angular/core' | 2 | import { Component, EventEmitter, OnInit, Output } from '@angular/core' |
2 | import { Router } from '@angular/router' | 3 | import { Router } from '@angular/router' |
3 | import { VideoPrivacy, VideoUpdate } from '../../../../../../shared/models/videos' | 4 | import { AuthService, CanComponentDeactivate, Notifier, ServerService } from '@app/core' |
4 | import { AuthService, Notifier, ServerService } from '../../../core' | 5 | import { getAbsoluteAPIUrl, scrollToTop } from '@app/helpers' |
5 | import { VideoService } from '../../../shared/video/video.service' | 6 | import { FormValidatorService } from '@app/shared/shared-forms' |
6 | import { I18n } from '@ngx-translate/i18n-polyfill' | 7 | import { VideoCaptionService, VideoEdit, VideoImportService, VideoService } from '@app/shared/shared-main' |
7 | import { LoadingBarService } from '@ngx-loading-bar/core' | ||
8 | import { VideoSend } from '@app/videos/+video-edit/video-add-components/video-send' | 8 | import { VideoSend } from '@app/videos/+video-edit/video-add-components/video-send' |
9 | import { CanComponentDeactivate } from '@app/shared/guards/can-deactivate-guard.service' | 9 | import { LoadingBarService } from '@ngx-loading-bar/core' |
10 | import { VideoEdit } from '@app/shared/video/video-edit.model' | 10 | import { I18n } from '@ngx-translate/i18n-polyfill' |
11 | import { FormValidatorService } from '@app/shared' | 11 | import { VideoPrivacy, VideoUpdate } from '@shared/models' |
12 | import { VideoCaptionService } from '@app/shared/video-caption' | ||
13 | import { VideoImportService } from '@app/shared/video-import' | ||
14 | import { scrollToTop, getAbsoluteAPIUrl } from '@app/shared/misc/utils' | ||
15 | import { switchMap, map } from 'rxjs/operators' | ||
16 | 12 | ||
17 | @Component({ | 13 | @Component({ |
18 | selector: 'my-video-import-url', | 14 | selector: 'my-video-import-url', |