mirror of
https://github.com/discourse/discourse.git
synced 2026-08-02 09:29:37 -05:00
FIX: Delete topicNotificationLevel from transformed post before creatingRecord in post widget (#25229)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user