mirror of https://github.com/rancher/ui.git
23 lines
473 B
JavaScript
23 lines
473 B
JavaScript
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: '',
|
|
});
|