mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 06:28:27 +00:00
Disable sound for DMs checkbox when DM notifications are disabled (#11210)
This commit is contained in:
committed by
GitHub
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!,
|
||||||
|
|||||||
Reference in New Issue
Block a user