import Component from 'ember-component';
import computed from 'ember-computed';
import injectService from 'ember-service/inject';

export default Component.extend({
  bitsRoom: injectService(),
  channelName: computed.readOnly('bitsRoom.channelName'),

  actions: {
    buy() {
      this.get('bitsRoom').openBuyMenu();
    }
  }
});
