Skip to content

Commit

Permalink
change pagination attributes bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-kalina committed Dec 16, 2015
1 parent 77a5279 commit 4c81020
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/components/admin-pagination-pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import layout from '../templates/components/admin-pagination-pages';
export default Ember.Component.extend({
layout: layout,

currentPageBinding: "content.page",
numberOfPagesBinding: "content.numberOfPages",
currentPage: Ember.computed.alias("content.page"),
numberOfPages: Ember.computed.alias("content.numberOfPages"),

pageItems: Ember.computed("currentPage", "numberOfPages", {
get: function() {
Expand Down

0 comments on commit 4c81020

Please sign in to comment.