mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-29 18:31:26 +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
|
<LabelledCheckbox
|
||||||
label="People"
|
label="People"
|
||||||
value={settings.sound.people !== undefined}
|
value={settings.sound.people !== undefined}
|
||||||
disabled={disabled}
|
disabled={disabled || settings.defaultLevels.dm === RoomNotifState.MentionsOnly}
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
reconcile({
|
reconcile({
|
||||||
...model!,
|
...model!,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user