Skip to content

Commit

Permalink
Merge pull request #452 from anna-kalina/master
Browse files Browse the repository at this point in the history
change pagination attributes bindings
  • Loading branch information
OpakAlex committed Dec 16, 2015
2 parents c03f50e + 4c81020 commit 986c3ed
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 986c3ed

Please sign in to comment.