From d8698743a1a020e9ff3ac4a67a98991643647647 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 }}

- + @@ -291,6 +294,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/mobile/views/components/note-detail.vue b/src/client/app/mobile/views/components/note-detail.vue index a640babb2..bcf11696c 100644 --- a/src/client/app/mobile/views/components/note-detail.vue +++ b/src/client/app/mobile/views/components/note-detail.vue @@ -66,9 +66,12 @@

{{ appearNote.repliesCount }}

- + diff --git a/src/client/app/mobile/views/components/note.vue b/src/client/app/mobile/views/components/note.vue index b4c98987d..f9179cd93 100644 --- a/src/client/app/mobile/views/components/note.vue +++ b/src/client/app/mobile/views/components/note.vue @@ -43,9 +43,12 @@

{{ appearNote.repliesCount }}

- +