ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject ambari git commit: AMBARI-18925 Previous page link enabled on empty table. (atkach)
Date Fri, 18 Nov 2016 09:25:24 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 945e5d4dd -> e83b06b27


AMBARI-18925 Previous page link enabled on empty table. (atkach)


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

Branch: refs/heads/trunk
Commit: e83b06b27933d07998c6f693a94724b272ba7fae
Parents: 945e5d4
Author: Andrii Tkach <atkach@apache.org>
Authored: Thu Nov 17 21:05:51 2016 +0200
Committer: Andrii Tkach <atkach@apache.org>
Committed: Fri Nov 18 11:25:02 2016 +0200

----------------------------------------------------------------------
 ambari-web/app/views/common/table_view.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e83b06b2/ambari-web/app/views/common/table_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/table_view.js b/ambari-web/app/views/common/table_view.js
index 7d6419a..9fcefc7 100644
--- a/ambari-web/app/views/common/table_view.js
+++ b/ambari-web/app/views/common/table_view.js
@@ -70,12 +70,12 @@ App.TableView = Em.View.extend(App.UserPref, {
   totalCount: Em.computed.alias('content.length'),
 
   /**
-   * Determines whether cuurent page is the first one
+   * Determines whether current page is the first one
    */
-  isCurrentPageFirst: Em.computed.equal('startIndex', 1),
+  isCurrentPageFirst: Em.computed.lte('startIndex', 1),
 
   /**
-   * Determines whether cuurent page is the last one
+   * Determines whether current page is the last one
    */
   isCurrentPageLast: Em.computed.equalProperties('endIndex', 'filteredCount'),
 


Mime
View raw message