mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 15:47:35 +00:00
fix(notification): wrong condition for sounds playing (#91)
Co-authored-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
@@ -32,7 +32,7 @@ export function sendNotification(cartUrl: string) {
|
||||
sendPushoverNotification(cartUrl);
|
||||
}
|
||||
|
||||
if (notifications.playSound === 'true') {
|
||||
if (notifications.playSound) {
|
||||
playSound();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user