deason 6 lat temu
rodzic
commit
7bd3c0e9e4

+ 1 - 1
src/main/resources/templates/deviceRecord/list.ftl

@@ -120,7 +120,7 @@
             type: "POST",
             data: JSON.stringify(params),
             success: function (response) {
-                if (response && response.success) {
+                if (response && response.code == '200') {
                     var data = response.data;
                     if (data.numberOfElements > 0) {
                         var html = render(data.content);