import Ember from 'ember';

export default Ember.Controller.extend({
  settings:        Ember.inject.service(),
  sortBy:          'name',

  headers: [
    {
      translationKey: 'generic.state',
      name: 'state',
      sort: ['stateSort','name','id'],
      width: '121'
    },
    {
      translationKey: 'generic.name',
      name: 'name',
      sort: ['name','id'],
    },
    {
      translationKey: 'hookPage.fields.kind.label',
      name: 'kind',
      sort: ['displayKind','id'],
    },
    {
      translationKey: 'hookPage.fields.detail.label',
    },
    {
      translationKey: 'hookPage.fields.url.label',
      width: '100'
    },
    {
      width: '75'
    },
  ],

});

import Ember from 'ember';

export default Ember.Controller.extend({
  settings:        Ember.inject.service(),
  sortBy:          'name',

  headers: [
    {
      translationKey: 'generic.state',
      name: 'state',
      sort: ['stateSort','name','id'],
      width: '121'
    },
    {
      translationKey: 'generic.name',
      name: 'name',
      sort: ['name','id'],
    },
    {
      translationKey: 'hookPage.fields.kind.label',
      name: 'kind',
      sort: ['displayKind','id'],
    },
    {
      translationKey: 'hookPage.fields.detail.label',
    },
    {
      translationKey: 'hookPage.fields.url.label',
      width: '100'
    },
  ],

});

Remove extra header for actions, built in