diff --git a/src/components/quote_button/quote_button.js b/src/components/quote_button/quote_button.js index f5bf7e3a..8aea3566 100644 --- a/src/components/quote_button/quote_button.js +++ b/src/components/quote_button/quote_button.js @@ -7,6 +7,9 @@ const QuoteButton = { name: 'QuoteButton', props: ['status', 'quoting', 'visibility'], computed: { + isOwn () { + return this.status.user.id === this.$store.state.users.currentUser.id + }, loggedIn () { return !!this.$store.state.users.currentUser } diff --git a/src/components/quote_button/quote_button.vue b/src/components/quote_button/quote_button.vue index 7a4c6b4b..83b7715b 100644 --- a/src/components/quote_button/quote_button.vue +++ b/src/components/quote_button/quote_button.vue @@ -4,7 +4,7 @@ class="QuoteButton" >