From 68963e40da05233a07bb1519ee50e9bf431a226a Mon Sep 17 00:00:00 2001 From: Mark VanLandingham Date: Thu, 11 Jan 2024 10:09:30 -0600 Subject: [PATCH] FIX: Delete topicNotificationLevel from transformed post before creatingRecord in post widget (#25229) --- app/assets/javascripts/discourse/app/widgets/post.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/discourse/app/widgets/post.js b/app/assets/javascripts/discourse/app/widgets/post.js index a624a1c0725..115f3f0c434 100644 --- a/app/assets/javascripts/discourse/app/widgets/post.js +++ b/app/assets/javascripts/discourse/app/widgets/post.js @@ -885,6 +885,7 @@ createWidget("post-article", { delete result.shareUrl; delete result.firstPost; delete result.usernameUrl; + delete result.topicNotificationLevel; result.customShare = `${topicUrl}/${p.post_number}`; result.asPost = this.store.createRecord("post", result);