mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 12:25:16 +00:00
Take account of new settings
This commit is contained in:
@ -36,6 +36,9 @@ class NotificationsSettings {
|
||||
|
||||
await SettingsInterface.setNotifications(newSettings);
|
||||
|
||||
// Apply new settings immediatly
|
||||
NotificationsSong.enableSong = newSettings.allow_notifications_sound;
|
||||
|
||||
notify(tr("Successfully updated settings!"), "success")
|
||||
|
||||
} catch(e) {
|
||||
|
Reference in New Issue
Block a user