This is an automated email from the ASF dual-hosted git repository.

mmiller pushed a commit to branch 2.0
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/2.0 by this push:
     new 1fe2705  Add missing js type. Follow on fix for #1395
1fe2705 is described below

commit 1fe270546535417e473643c1757ad59d4d63d699
Author: Mike Miller <mmil...@apache.org>
AuthorDate: Mon Oct 28 16:40:14 2019 -0400

    Add missing js type. Follow on fix for #1395
---
 .../resources/org/apache/accumulo/monitor/templates/tables.ftl     | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git 
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/templates/tables.ftl
 
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/templates/tables.ftl
index 3cd3147..bf42960 100644
--- 
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/templates/tables.ftl
+++ 
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/templates/tables.ftl
@@ -37,6 +37,13 @@
                           data = bigNumberForQuantity(data);
                         return data;
                       }
+                    },
+                    {
+                      "targets": "duration",
+                      "render": function (data, type, row) {
+                        if (type === 'display') data = timeDuration(data);
+                        return data;
+                      }
                     }
                   ],
                 "columns": [

Reply via email to