From 8f8aa0ffbe31937c6d07443de32f233b7e9959bc Mon Sep 17 00:00:00 2001 From: Massedil Date: Wed, 3 Sep 2025 17:59:52 +0200 Subject: [PATCH] Improve notification settings handling - Reduce backend calls: only one request is made per parameter change, using the mutation response - Use `watch` with `immediate: true` instead of a separate `setNotificationSettings` function - Update notifications individually instead of via an `updatedSettings` group (like originally) Solves #1585 --- src/views/Settings/NotificationsView.vue | 123 +++++++++++++++++------ 1 file changed, 90 insertions(+), 33 deletions(-) diff --git a/src/views/Settings/NotificationsView.vue b/src/views/Settings/NotificationsView.vue index 9141811a9..c10a5a093 100644 --- a/src/views/Settings/NotificationsView.vue +++ b/src/views/Settings/NotificationsView.vue @@ -104,7 +104,7 @@ >