FIX: no form template logic when editing posts (#23317)

This commit is contained in:
Renato Atilio 2023-08-29 16:07:33 -03:00 committed by GitHub
parent 6650aa18f5
commit f49389309a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -909,7 +909,8 @@ export default class ComposerService extends Service {
if (this.siteSettings.experimental_form_templates) {
if (
this.formTemplateIds?.length > 0 &&
!this.get("model.replyingToTopic")
!this.get("model.replyingToTopic") &&
!this.get("model.editingPost")
) {
const formTemplateData = prepareFormTemplateData(
document.querySelector("#form-template-form")