diff --git a/packages/client/src/components/MkRenoteButton.vue b/packages/client/src/components/MkRenoteButton.vue index e4cdddc1ca..7d35c3ae11 100644 --- a/packages/client/src/components/MkRenoteButton.vue +++ b/packages/client/src/components/MkRenoteButton.vue @@ -45,8 +45,9 @@ const buttonRef = ref(); const canRenote = computed( () => - ["public", "home"].includes(props.note.visibility) || - props.note.userId === me?.id, + props.note.scheduledAt == null && + (["public", "home"].includes(props.note.visibility) || + props.note.userId === me?.id), ); useTooltip(buttonRef, async (showing) => { @@ -282,5 +283,8 @@ defineExpose({ opacity: 1 !important; font-weight: 700; } + &:disabled { + opacity: 0.3 !important; + } } diff --git a/packages/client/src/components/note/MkNoteFooter.vue b/packages/client/src/components/note/MkNoteFooter.vue index ee6db867f9..2e142b3f6c 100644 --- a/packages/client/src/components/note/MkNoteFooter.vue +++ b/packages/client/src/components/note/MkNoteFooter.vue @@ -22,7 +22,6 @@ :note="note" :count="note.renoteCount" :detailed-view="detailedView" - :disabled="note.scheduledAt != null" />