Ensure quote policy is displayed as “Just me” when disabled because of visibility (#35894)
This commit is contained in:
parent
012450e87d
commit
7a76f71d99
2 changed files with 4 additions and 3 deletions
|
|
@ -253,7 +253,7 @@ export const VisibilityModal: FC<VisibilityModalProps> = forwardRef(
|
|||
items={quoteItems}
|
||||
onChange={handleQuotePolicyChange}
|
||||
classPrefix='visibility-dropdown'
|
||||
current={quotePolicy}
|
||||
current={disableQuotePolicy ? 'nobody' : quotePolicy}
|
||||
title={intl.formatMessage(messages.buttonTitle)}
|
||||
disabled={disableQuotePolicy}
|
||||
id={quoteDropdownId}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue