소스 검색

Don't send undefined with HTML input

tags/v5.1.0
Chocobozzz 2 달 전
부모
커밋
04852e14b4
No known key found for this signature in database GPG 키 ID: 583A612D890159BE
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      client/src/app/+videos/+video-edit/shared/video-edit.component.ts

+ 3
- 0
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



불러오는 중...
취소
저장