diff options
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 | 6 |
1 files changed, 3 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 c6fb6dbed..705f62404 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 | |||
@@ -5,7 +5,7 @@ import { forkJoin } from 'rxjs' | |||
5 | import { Video, VideoPlaylistCreate, VideoPlaylistElementCreate, VideoPlaylistPrivacy } from '@shared/models' | 5 | import { Video, VideoPlaylistCreate, VideoPlaylistElementCreate, VideoPlaylistPrivacy } from '@shared/models' |
6 | import { FormReactive, FormValidatorService, VideoPlaylistValidatorsService } from '@app/shared/forms' | 6 | import { FormReactive, FormValidatorService, VideoPlaylistValidatorsService } from '@app/shared/forms' |
7 | import { I18n } from '@ngx-translate/i18n-polyfill' | 7 | import { I18n } from '@ngx-translate/i18n-polyfill' |
8 | import { secondsToTime, timeToInt } from '../../../assets/player/utils' | 8 | import { secondsToTime } from '../../../assets/player/utils' |
9 | 9 | ||
10 | type PlaylistSummary = { | 10 | type PlaylistSummary = { |
11 | id: number | 11 | id: number |
@@ -54,7 +54,7 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit | |||
54 | this.resetOptions(true) | 54 | this.resetOptions(true) |
55 | 55 | ||
56 | this.buildForm({ | 56 | this.buildForm({ |
57 | 'display-name': this.videoPlaylistValidatorsService.VIDEO_PLAYLIST_DISPLAY_NAME | 57 | displayName: this.videoPlaylistValidatorsService.VIDEO_PLAYLIST_DISPLAY_NAME |
58 | }) | 58 | }) |
59 | 59 | ||
60 | forkJoin([ | 60 | forkJoin([ |
@@ -105,7 +105,7 @@ export class VideoAddToPlaylistComponent extends FormReactive implements OnInit | |||
105 | } | 105 | } |
106 | 106 | ||
107 | createPlaylist () { | 107 | createPlaylist () { |
108 | const displayName = this.form.value[ 'display-name' ] | 108 | const displayName = this.form.value[ 'displayName' ] |
109 | 109 | ||
110 | const videoPlaylistCreate: VideoPlaylistCreate = { | 110 | const videoPlaylistCreate: VideoPlaylistCreate = { |
111 | displayName, | 111 | displayName, |