mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
fb239054a0
follow up from #95 - converts components to use ember-cli-shims
18 lines
346 B
JavaScript
18 lines
346 B
JavaScript
import Component from 'ember-component';
|
|
|
|
export default Component.extend({
|
|
classNames: ['subscribers-table'],
|
|
|
|
table: null,
|
|
|
|
actions: {
|
|
onScrolledToBottom() {
|
|
let loadNextPage = this.get('loadNextPage');
|
|
|
|
if (!this.get('isLoading')) {
|
|
loadNextPage();
|
|
}
|
|
}
|
|
}
|
|
});
|