From bb7128bcb4a37d91c1f0940c44d573c44d902c1e Mon Sep 17 00:00:00 2001
From: MeiMei <30769358+mei23@users.noreply.github.com>
Date: Tue, 4 Dec 2018 03:22:08 +0900
Subject: [PATCH] Do not show Renote button when inhibited (#3488)
---
.../app/desktop/views/components/note-detail.vue | 12 +++++++++---
src/client/app/desktop/views/components/note.vue | 8 +++++++-
.../app/mobile/views/components/note-detail.vue | 5 ++++-
src/client/app/mobile/views/components/note.vue | 5 ++++-
4 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/src/client/app/desktop/views/components/note-detail.vue b/src/client/app/desktop/views/components/note-detail.vue
index 093586651..3ada2b9b8 100644
--- a/src/client/app/desktop/views/components/note-detail.vue
+++ b/src/client/app/desktop/views/components/note-detail.vue
@@ -68,9 +68,12 @@
{{ appearNote.repliesCount }}
- + + @@ -324,6 +327,9 @@ export default Vue.extend({ &.reactionButton:hover color var(--noteActionsReactionHover) + &.inhibitedButton + cursor not-allowed + > .count display inline margin 0 0 0 8px diff --git a/src/client/app/desktop/views/components/note.vue b/src/client/app/desktop/views/components/note.vue index b87aa5b04..aa201d185 100644 --- a/src/client/app/desktop/views/components/note.vue +++ b/src/client/app/desktop/views/components/note.vue @@ -47,9 +47,12 @@{{ appearNote.repliesCount }}
- -{{ appearNote.renoteCount }}
{{ appearNote.reactions_count }}
{{ appearNote.repliesCount }}
{{ appearNote.renoteCount }}
{{ appearNote.reactions_count }}