This commit is contained in:
nelle 2024-08-18 17:56:36 -06:00
parent 3078e348cb
commit 0a2472cdaa

View file

@ -416,7 +416,7 @@ const canPost = $computed((): boolean => {
!posting && !posting &&
(1 <= textLength || 1 <= files.length || !!poll || !!props.renote) && (1 <= textLength || 1 <= files.length || !!poll || !!props.renote) &&
textLength <= maxTextLength && textLength <= maxTextLength &&
(!poll || poll.choices.length >= 2) (!poll || poll.choices.length >= 1)
); );
}); });