mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: no form template logic when editing posts (#23317)
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user