diff options
| author | Toromino <d.buchholz@toromino.de> | 2018-08-09 16:45:52 +0000 |
|---|---|---|
| committer | Toromino <d.buchholz@toromino.de> | 2018-08-09 16:45:52 +0000 |
| commit | 316692ee854fbd9b15f9838cf915966956ec8ca8 (patch) | |
| tree | d77582f564b40362457ddd137334aec953476021 /src/components/retweet_button/retweet_button.vue | |
| parent | e60fde233b50ee1b2ed273f49f3fc5831508143c (diff) | |
Update retweet_button.vue
Diffstat (limited to 'src/components/retweet_button/retweet_button.vue')
| -rw-r--r-- | src/components/retweet_button/retweet_button.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/retweet_button/retweet_button.vue b/src/components/retweet_button/retweet_button.vue index 1bee3d08..f5b00599 100644 --- a/src/components/retweet_button/retweet_button.vue +++ b/src/components/retweet_button/retweet_button.vue @@ -1,9 +1,9 @@ <template> - <div v-if="loggedIn"> + <div v-if="loggedIn && visibility !== 'private' && visibility !== 'direct'"> <i :class='classes' class='icon-retweet rt-active' v-on:click.prevent='retweet()'></i> <span v-if='status.repeat_num > 0'>{{status.repeat_num}}</span> </div> - <div v-else> + <div v-else-if="!loggedIn"> <i :class='classes' class='icon-retweet'></i> <span v-if='status.repeat_num > 0'>{{status.repeat_num}}</span> </div> |
