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

export default Component.extend({
  experiments: injectService(),

  game: null,
  showCommunities: false,

  init() {
    this._super(...arguments);
    this.get('experiments').getExperimentValue('CREATIVE_DIRECTORY_CVS').then(value => {
      if (value === 'streams') {
        this.set('showCommunities', true);
      }
    });
  }
});
