mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-17 18:18:07 +00:00
Fix logged-out quote menu UX, simplify Interaction dialog copy (#36124)
This commit is contained in:
@@ -129,6 +129,7 @@ export function boostItemState({
|
||||
}
|
||||
|
||||
export function quoteItemState({
|
||||
isLoggedIn,
|
||||
isMine,
|
||||
isQuoteAutomaticallyAccepted,
|
||||
isQuoteManuallyAccepted,
|
||||
@@ -149,7 +150,8 @@ export function quoteItemState({
|
||||
} else if (isQuoteManuallyAccepted) {
|
||||
iconText.title = messages.request_quote;
|
||||
iconText.meta = messages.quote_manual_review;
|
||||
} else {
|
||||
// We don't show the disabled state when logged out
|
||||
} else if (isLoggedIn) {
|
||||
iconText.disabled = true;
|
||||
iconText.iconComponent = FormatQuoteOff;
|
||||
iconText.meta = isQuoteFollowersOnly
|
||||
|
||||
Reference in New Issue
Block a user