diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-02-21 02:56:30 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-02-21 02:56:30 +0900 |
commit | f71610fec36f2425a69a1b46118051120eedd1a1 (patch) | |
tree | 6a5951eaed0af2742147f6d76be2d970ce16a7af /frontend | |
parent | 125722eee6b5315065954c846a9881f05fbe3a49 (diff) | |
download | aclog-f71610fec36f2425a69a1b46118051120eedd1a1.tar.gz |
frontend: tweets/show: don't show reactions on replies (fix)
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/src/components/tweets/tweet.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/tweets/tweet.vue b/frontend/src/components/tweets/tweet.vue index 366ffb6..9f4bbd6 100644 --- a/frontend/src/components/tweets/tweet.vue +++ b/frontend/src/components/tweets/tweet.vue @@ -27,7 +27,7 @@ </div> </div> </div> - <div class="status-responses"> + <div class="status-responses" v-if="!tweet.aside"> <dl v-if="tweet.favorites_count > 0"> <dt> <a class="expand-responses-button" v-on:click="toggleExpandFavorites" href="#" title="すべて見る"><span v-text="tweet.favorites_count"></span>Likes</a> @@ -162,7 +162,7 @@ export default { window.open(e.target.getAttribute("href"), null, options); }, updateReactions() { - if (!this.tweet.allowed || this.tweet.reactions_count === 0 || this.loading) return; + if (!this.tweet.allowed || this.tweet.reactions_count === 0 || this.tweet.aside || this.loading) return; this.loading = true; aclog.tweets.responses(this.tweet.id_str).then(res => { this.$set("tweet.favorites", res.favorites); |