FIX: Jump to reply button in post stream was not working (#14123)

FIX: Jump to reply button in post stream was not working (#14123)

diff --git a/app/assets/javascripts/discourse/app/widgets/post.js b/app/assets/javascripts/discourse/app/widgets/post.js
index a184f91..c7e3947 100644
--- a/app/assets/javascripts/discourse/app/widgets/post.js
+++ b/app/assets/javascripts/discourse/app/widgets/post.js
@@ -499,7 +499,16 @@ createWidget("post-contents", {
       .then((posts) => {
         this.state.repliesBelow = posts.map((p) => {
           let result = transformWithCallbacks(p);
-          result.shareUrl = `${topicUrl}/${p.post_number}`;
+
+          // these would conflict with computed properties with identical names
+          // in the post model if we kept them.
+          delete result.new_user;
+          delete result.deleted;
+          delete result.shareUrl;
+          delete result.firstPost;
+          delete result.usernameUrl;
+
+          result.customShare = `${topicUrl}/${p.post_number}`;
           result.asPost = this.store.createRecord("post", result);
           return result;
         });

GitHub sha: 45a166b6efaca54f4f4ab6a492bc5b000ebc9920

This commit appears in #14123 which was approved by jjaffeux. It was merged by SamSaffron.