FIX: no form template logic when editing posts (#23317)
This commit is contained in:
parent
6650aa18f5
commit
f49389309a
|
@ -909,7 +909,8 @@ export default class ComposerService extends Service {
|
||||||
if (this.siteSettings.experimental_form_templates) {
|
if (this.siteSettings.experimental_form_templates) {
|
||||||
if (
|
if (
|
||||||
this.formTemplateIds?.length > 0 &&
|
this.formTemplateIds?.length > 0 &&
|
||||||
!this.get("model.replyingToTopic")
|
!this.get("model.replyingToTopic") &&
|
||||||
|
!this.get("model.editingPost")
|
||||||
) {
|
) {
|
||||||
const formTemplateData = prepareFormTemplateData(
|
const formTemplateData = prepareFormTemplateData(
|
||||||
document.querySelector("#form-template-form")
|
document.querySelector("#form-template-form")
|
||||||
|
|
Loading…
Reference in New Issue