aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-03-10 15:23:00 +0100
committerChocobozzz <me@florianbigard.com>2023-03-10 15:45:52 +0100
commit3cda7efaaa732ea586d8d87ffa80c645e61ed432 (patch)
tree621f0c3173165f66e57da5ad3e53c9b014529339 /client
parent58e735dd77a4ea8fc9e8da3b54fd338bf9e3558b (diff)
downloadPeerTube-3cda7efaaa732ea586d8d87ffa80c645e61ed432.tar.gz
PeerTube-3cda7efaaa732ea586d8d87ffa80c645e61ed432.tar.zst
PeerTube-3cda7efaaa732ea586d8d87ffa80c645e61ed432.zip
Don't send undefined with HTML input
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+videos/+video-edit/shared/video-edit.component.ts3
1 files changed, 3 insertions, 0 deletions
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 2bc0e6bb4..89687f35e 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
@@ -355,6 +355,9 @@ export class VideoEditComponent implements OnInit, OnDestroy {
355 for (const setting of this.pluginFields) { 355 for (const setting of this.pluginFields) {
356 await this.pluginService.translateSetting(setting.pluginInfo.plugin.npmName, setting.commonOptions) 356 await this.pluginService.translateSetting(setting.pluginInfo.plugin.npmName, setting.commonOptions)
357 357
358 // Not a form input, just a HTML tag
359 if (setting.commonOptions.type === 'html') continue
360
358 const validator = async (control: AbstractControl) => { 361 const validator = async (control: AbstractControl) => {
359 if (!setting.commonOptions.error) return null 362 if (!setting.commonOptions.error) return null
360 363