deason %!s(int64=6) %!d(string=hai) anos
pai
achega
7bd3c0e9e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/resources/templates/deviceRecord/list.ftl

+ 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);