You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by nj...@apache.org on 2016/04/18 08:35:04 UTC

[22/50] kylin git commit: KYLIN-1423 for segment size display, update 'N/A' to 'less than 1 MB'

KYLIN-1423 for segment size display, update 'N/A' to 'less than 1 MB'


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/80b6c647
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/80b6c647
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/80b6c647

Branch: refs/heads/1.4-rc
Commit: 80b6c647cfd760af704b2756a6aca617146dae93
Parents: 9244218
Author: janzhongi <ji...@ebay.com>
Authored: Wed Feb 24 11:45:06 2016 +0800
Committer: janzhongi <ji...@ebay.com>
Committed: Wed Feb 24 11:45:19 2016 +0800

----------------------------------------------------------------------
 webapp/app/js/filters/filter.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/80b6c647/webapp/app/js/filters/filter.js
----------------------------------------------------------------------
diff --git a/webapp/app/js/filters/filter.js b/webapp/app/js/filters/filter.js
index 3f1d8d3..1eaae93 100755
--- a/webapp/app/js/filters/filter.js
+++ b/webapp/app/js/filters/filter.js
@@ -83,9 +83,8 @@ KylinApp
   .filter('bytes', function () {
     return function (bytes, precision) {
       if (bytes === 0) {
-        return 'N/A'
+        return 'less than 1 MB';
       }
-      ;
       if (isNaN(parseFloat(bytes)) || !isFinite(bytes)) {
         return '-';
       }