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 0935866510..3ada2b9b88 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 b87aa5b044..aa201d1854 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 }}