Skip to content

Commit

Permalink
Message share doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
edwh committed Jan 24, 2020
1 parent 8f9dcf6 commit 9833ff0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/Message.vue
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
</b-button>
</template>
</b-modal>
<ShareModal v-if="expanded" ref="shareModal" :message="$props" />
<ShareModal v-if="expanded && expanded.url" ref="shareModal" :message="expanded" />
<ChatButton ref="chatbutton" :userid="replyToUser" class="d-none" @sent="sentReply" />
<MessageReportModal v-if="expanded" ref="reportModal" :message="$props" />
</div>
Expand Down Expand Up @@ -339,6 +339,11 @@ export default {
type: Boolean,
required: false,
default: false
},
url: {
type: String,
required: false,
default: null
}
},
data: function() {
Expand Down

0 comments on commit 9833ff0

Please sign in to comment.