mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:15:46 +08:00
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.formTemplateIds?.length > 0 &&
|
||||
!this.get("model.replyingToTopic")
|
||||
!this.get("model.replyingToTopic") &&
|
||||
!this.get("model.editingPost")
|
||||
) {
|
||||
const formTemplateData = prepareFormTemplateData(
|
||||
document.querySelector("#form-template-form")
|
||||
|
|
Loading…
Reference in New Issue
Block a user