diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-06 15:13:37 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-06 15:14:25 +0100 |
commit | 93d54cc769d88ecb2d7ead3ca293dac52653c13f (patch) | |
tree | cd1ac55a1771ddf0ae0a08d1d2602800e2df340a /client/src/app/shared/video-playlist/video-add-to-playlist.component.ts | |
parent | 6a07a058616b3fb70e56cd4e50b8deb02a2468d0 (diff) | |
download | PeerTube-93d54cc769d88ecb2d7ead3ca293dac52653c13f.tar.gz PeerTube-93d54cc769d88ecb2d7ead3ca293dac52653c13f.tar.zst PeerTube-93d54cc769d88ecb2d7ead3ca293dac52653c13f.zip |
Align search field with checkboxes in playlist add
Diffstat (limited to 'client/src/app/shared/video-playlist/video-add-to-playlist.component.ts')
-rw-r--r-- | client/src/app/shared/video-playlist/video-add-to-playlist.component.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/src/app/shared/video-playlist/video-add-to-playlist.component.ts b/client/src/app/shared/video-playlist/video-add-to-playlist.component.ts index e60a8381d..0c593a79a 100644 --- a/client/src/app/shared/video-playlist/video-add-to-playlist.component.ts +++ b/client/src/app/shared/video-playlist/video-add-to-playlist.component.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core' | 1 | import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core' |
2 | import { VideoPlaylistService } from '@app/shared/video-playlist/video-playlist.service' | 2 | import { CachedPlaylist, VideoPlaylistService } from '@app/shared/video-playlist/video-playlist.service' |
3 | import { AuthService, Notifier } from '@app/core' | 3 | import { AuthService, Notifier } from '@app/core' |
4 | import { Subject, Subscription } from 'rxjs' | 4 | import { Subject, Subscription } from 'rxjs' |
5 | import { debounceTime, filter } from 'rxjs/operators' | 5 | import { debounceTime, filter } from 'rxjs/operators' |
@@ -7,7 +7,6 @@ import { Video, VideoPlaylistCreate, VideoPlaylistElementCreate, VideoPlaylistPr | |||
7 | import { FormReactive, FormValidatorService, VideoPlaylistValidatorsService } from '@app/shared/forms' | 7 | import { FormReactive, FormValidatorService, VideoPlaylistValidatorsService } from '@app/shared/forms' |
8 | import { I18n } from '@ngx-translate/i18n-polyfill' | 8 | import { I18n } from '@ngx-translate/i18n-polyfill' |
9 | import { secondsToTime } from '../../../assets/player/utils' | 9 | import { secondsToTime } from '../../../assets/player/utils' |
10 | import { VideoPlaylist } from '@app/shared/video-playlist/video-playlist.model' | ||
11 | import * as debug from 'debug' | 10 | import * as debug from 'debug' |
12 | import { DisableForReuseHook } from '@app/core/routing/disable-for-reuse-hook' | 11 | import { DisableForReuseHook } from '@app/core/routing/disable-for-reuse-hook' |
13 | import { VideoExistInPlaylist } from '@shared/models/videos/playlist/video-exist-in-playlist.model' | 12 | import { VideoExistInPlaylist } from '@shared/models/videos/playlist/video-exist-in-playlist.model' |
@@ -50,7 +49,7 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit, | |||
50 | private disabled = false | 49 | private disabled = false |
51 | 50 | ||
52 | private listenToPlaylistChangeSub: Subscription | 51 | private listenToPlaylistChangeSub: Subscription |
53 | private playlistsData: VideoPlaylist[] = [] | 52 | private playlistsData: CachedPlaylist[] = [] |
54 | 53 | ||
55 | constructor ( | 54 | constructor ( |
56 | protected formValidatorService: FormValidatorService, | 55 | protected formValidatorService: FormValidatorService, |