FIX: ensures panel's shareUrl is not erased by topic's shareUrl (#7035)

FIX: ensures panel’s shareUrl is not erased by topic’s shareUrl (#7035)

diff --git a/app/assets/javascripts/discourse/components/share-panel.js.es6 b/app/assets/javascripts/discourse/components/share-panel.js.es6
index 2ac3a16..deb4039 100644
--- a/app/assets/javascripts/discourse/components/share-panel.js.es6
+++ b/app/assets/javascripts/discourse/components/share-panel.js.es6
@@ -35,8 +35,10 @@ export default Ember.Component.extend({
     return I18n.t("share.topic", { topicTitle });
   },
 
-  @computed("topic.shareUrl")
-  shareUrl(shareUrl) {
+  @computed("panel.model.shareUrl", "topic.shareUrl")
+  shareUrl(forcedShareUrl, shareUrl) {
+    shareUrl = forcedShareUrl || shareUrl;
+
     if (Ember.isEmpty(shareUrl)) {
       return;
     }

GitHub sha: 28c24631