Skip to content

Commit

Permalink
add value checking
Browse files Browse the repository at this point in the history
  • Loading branch information
panaaj committed Sep 22, 2024
1 parent 91e3ac6 commit a951732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/modules/alarms/alarms.facade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export class AlarmsFacade {
private processNotifications(msg: NotificationMessage) {
const sound = this.app.config.muteSound
? false
: msg.result.value.method.includes('sound')
: msg.result.value?.method.includes('sound')
? true
: false;
switch (msg.type) {
Expand Down

0 comments on commit a951732

Please sign in to comment.