diff options
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/core/server/server.service.ts | 1 | ||||
-rw-r--r-- | client/src/app/videos/+video-edit/shared/video-edit.component.ts | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts index 6323a7edf..74363e6a1 100644 --- a/client/src/app/core/server/server.service.ts +++ b/client/src/app/core/server/server.service.ts | |||
@@ -141,7 +141,6 @@ export class ServerService { | |||
141 | ) | 141 | ) |
142 | .subscribe(({ data, translations }) => { | 142 | .subscribe(({ data, translations }) => { |
143 | Object.keys(data) | 143 | Object.keys(data) |
144 | .map(dataKey => parseInt(dataKey, 10)) | ||
145 | .forEach(dataKey => { | 144 | .forEach(dataKey => { |
146 | const label = data[ dataKey ] | 145 | const label = data[ dataKey ] |
147 | 146 | ||
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.ts b/client/src/app/videos/+video-edit/shared/video-edit.component.ts index 66eb6611a..35d406ee3 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.ts +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.ts | |||
@@ -101,6 +101,7 @@ export class VideoEditComponent implements OnInit { | |||
101 | this.videoCategories = this.serverService.getVideoCategories() | 101 | this.videoCategories = this.serverService.getVideoCategories() |
102 | this.videoLicences = this.serverService.getVideoLicences() | 102 | this.videoLicences = this.serverService.getVideoLicences() |
103 | this.videoLanguages = this.serverService.getVideoLanguages() | 103 | this.videoLanguages = this.serverService.getVideoLanguages() |
104 | console.log(this.videoLanguages) | ||
104 | 105 | ||
105 | setTimeout(() => this.minScheduledDate = new Date(), 1000 * 60) // Update every minute | 106 | setTimeout(() => this.minScheduledDate = new Date(), 1000 * 60) // Update every minute |
106 | } | 107 | } |