[Glitch] Ensure quote policy is displayed as “Just me” when disabled because of visibility

Port 7a76f71d99 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire committed 2025-08-25 22:22:52 +02:00
1 parent c2c0b4f347
commit a17db258ea
2 files changed
+4 -3

No files matched your search

@@ -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}