Explorar el Código

fix: update success condition in notification response handling

Manuel hace 8 meses
padre
commit
de3b32c025
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();