mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-20 04:45:17 +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