import Component from 'ember-component';
import computed from 'ember-computed';

export default Component.extend({
  shouldShow: computed.or('isFiltered', 'notCurrentCategory'),
  notCurrentCategory: computed.not('currentCategory'),

  isFiltered: computed('currentCategory', 'category',  function () {
    return this.get('currentCategory') === this.get('category');
  })
});
