ui/lib/monitoring/addon/components/ingress-response-list/component.js

30 lines
615 B
JavaScript

import Component from '@ember/component';
import layout from './template';
export default Component.extend({
layout,
data: null,
sortBy: 'time',
descending: true,
labelArray: null,
headers: [
{
name: 'host',
sort: ['host'],
translationKey: 'ingressResponse.host',
},
{
name: 'path',
sort: ['path', 'host'],
translationKey: 'ingressResponse.path',
},
{
name: 'time',
sort: ['time', 'path', 'host'],
translationKey: 'ingressResponse.responseTime',
},
],
});