Fix logged-out quote menu UX, simplify Interaction dialog copy (#36124)
This commit is contained in:
parent
943cdc5b21
commit
38fa0102c1
11 changed files with 51 additions and 142 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue