mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-29 10:21:38 +02:00
Disable sound for DMs checkbox when DM notifications are disabled (#11210)
This commit is contained in:
parent
aa818cdf85
commit
05c2ee0767
@ -180,7 +180,7 @@ export default function NotificationSettings2(): JSX.Element {
|
||||
<LabelledCheckbox
|
||||
label="People"
|
||||
value={settings.sound.people !== undefined}
|
||||
disabled={disabled}
|
||||
disabled={disabled || settings.defaultLevels.dm === RoomNotifState.MentionsOnly}
|
||||
onChange={(value) => {
|
||||
reconcile({
|
||||
...model!,
|
||||
|
Loading…
x
Reference in New Issue
Block a user