aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-03-10 15:23:00 +0100
committerChocobozzz <me@florianbigard.com>2023-03-10 15:23:32 +0100
commit04852e14b4290b51e929d0f3019f9663ccf3ac24 (patch)
tree3d3a23134a73ed6b6c268761bac81c5cdc06ca4b /client/src/app
parent96d00a997b9847f6796c02dbff01bca2c99385c6 (diff)
downloadPeerTube-04852e14b4290b51e929d0f3019f9663ccf3ac24.tar.gz
PeerTube-04852e14b4290b51e929d0f3019f9663ccf3ac24.tar.zst
PeerTube-04852e14b4290b51e929d0f3019f9663ccf3ac24.zip
Don't send undefined with HTML input
Diffstat (limited to 'client/src/app')
-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