[MM-62999] Fix label in notification settings for notification sound combo box (#31295)

Этот коммит содержится в:
Devin Binnie
2025-06-05 08:50:37 -04:00
коммит произвёл GitHub
родитель 65c5f40c6a
Коммит f3d20cfc15

Просмотреть файл

@@ -127,10 +127,12 @@ function DesktopNotificationSoundsSettings({
checked={desktopSound === 'true'} checked={desktopSound === 'true'}
onChange={handleChangeForMessageNotificationSoundCheckbox} onChange={handleChangeForMessageNotificationSoundCheckbox}
/> />
<FormattedMessage <span id='messageNotificationSoundLabel'>
id='user.settings.notifications.desktopNotificationSound.messageNotificationSound' <FormattedMessage
defaultMessage='Message notification sound' id='user.settings.notifications.desktopNotificationSound.messageNotificationSound'
/> defaultMessage='Message notification sound'
/>
</span>
</label> </label>
<ReactSelect <ReactSelect
id='messageNotificationSoundSelect' id='messageNotificationSoundSelect'
@@ -148,6 +150,7 @@ function DesktopNotificationSoundsSettings({
components={{IndicatorSeparator: NoIndicatorSeparatorComponent}} components={{IndicatorSeparator: NoIndicatorSeparatorComponent}}
value={getValueOfNotificationSoundsSelect(desktopNotificationSound)} value={getValueOfNotificationSoundsSelect(desktopNotificationSound)}
onChange={handleChangeForMessageNotificationSoundSelect} onChange={handleChangeForMessageNotificationSoundSelect}
aria-labelledby='messageNotificationSoundLabel'
/> />
</div> </div>
</Fragment> </Fragment>