import Controller from '@ember/controller'; import FilterState from 'ui/mixins/filter-state'; const headers = [ { translationKey: 'podSecurityPoliciesPage.index.table.name', name: 'name', sort: ['name'], }, { translationKey: 'podSecurityPoliciesPage.index.table.created', name: 'created', sort: ['created'], width: '200', }, ] export default Controller.extend(FilterState, { sortBy: 'name', headers: headers, searchText: '', });