소스 검색

Fix #3441: extra parameter to xFormField2TemplateResult

John Livingston 1 년 전
부모
커밋
7fb420916b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/plugins/muc-views/modals/templates/muc-config.js

+ 1 - 1
src/plugins/muc-views/modals/templates/muc-config.js

@@ -27,7 +27,7 @@ export default (el) => {
             new_password: !el.model.features.get('passwordprotected'),
             new_password: !el.model.features.get('passwordprotected'),
             fixed_username: el.model.get('jid'),
             fixed_username: el.model.get('jid'),
         };
         };
-        fieldTemplates = fields.map((f) => u.xFormField2TemplateResult(f, stanza, options));
+        fieldTemplates = fields.map((f) => u.xFormField2TemplateResult(f, options));
         instructions = stanza.querySelector('instructions')?.textContent;
         instructions = stanza.querySelector('instructions')?.textContent;
         title = stanza.querySelector('title')?.textContent;
         title = stanza.querySelector('title')?.textContent;
     }
     }