From 4c81020274277aba9d0dc64f1de54129545a069d Mon Sep 17 00:00:00 2001 From: kalina Date: Wed, 16 Dec 2015 16:11:38 +0300 Subject: [PATCH] change pagination attributes bindings --- addon/components/admin-pagination-pages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addon/components/admin-pagination-pages.js b/addon/components/admin-pagination-pages.js index 1ce920f..7aa10c1 100644 --- a/addon/components/admin-pagination-pages.js +++ b/addon/components/admin-pagination-pages.js @@ -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() {