Repository: kylin Updated Branches: refs/heads/2.x-staging 1c4d3a158 -> 5085a4d30
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/5085a4d3 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/5085a4d3 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/5085a4d3 Branch: refs/heads/2.x-staging Commit: 5085a4d30bb721e6992f80e5ac0145264872092e Parents: 1c4d3a1 Author: janzhongi <[email protected]> Authored: Wed Feb 24 11:43:34 2016 +0800 Committer: janzhongi <[email protected]> Committed: Wed Feb 24 11:43:34 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/5085a4d3/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 '-'; }
