Просмотр исходного кода

fix: update success condition in notification response handling

Manuel 8 месяцев назад
Родитель
Сommit
de3b32c025
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      templates/all_notifications.html

+ 1 - 1
templates/all_notifications.html

@@ -484,7 +484,7 @@ document.addEventListener('DOMContentLoaded', function() {
             return response.json();
         })
         .then(data => {
-            if (data.success) {
+            if (data.success || data.status === 'success') {
                 // Mostrar estado vacío
                 showEmptyState();