Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Don't send undefined with HTML input

Chocobozzz04852e14b429
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 2bc0e6bb41..89687f35ee 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 {
for (const setting of this.pluginFields) {
await this.pluginService.translateSetting(setting.pluginInfo.plugin.npmName, setting.commonOptions)
+ // Not a form input, just a HTML tag
+ if (setting.commonOptions.type === 'html') continue
+
const validator = async (control: AbstractControl) => {
if (!setting.commonOptions.error) return null