import Component from 'ember-component';

export default Component.extend({
  uiContext: 'channel_playlists',

  init() {
    this._super(...arguments);
    this.get('model').fetchNextPage();
  },

  actions: {
    loadMore() {
      this.get('model').fetchNextPage();
    }
  }
});
