fix: set `Rich tooltip` -> 'Show percentage' to false by default (#32212)

This commit is contained in:
Maxime Beauchemin 2025-02-11 10:58:49 -08:00 committed by GitHub
parent 650fa5ccfb
commit d3b854a833
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ const tooltipPercentageControl: ControlSetItem = {
type: 'CheckboxControl', type: 'CheckboxControl',
label: t('Show percentage'), label: t('Show percentage'),
renderTrigger: true, renderTrigger: true,
default: true, default: false,
description: t('Whether to display the percentage value in the tooltip'), description: t('Whether to display the percentage value in the tooltip'),
visibility: ({ controls, form_data }: ControlPanelsContainerProps) => visibility: ({ controls, form_data }: ControlPanelsContainerProps) =>
Boolean(controls?.rich_tooltip?.value) && Boolean(controls?.rich_tooltip?.value) &&