mirror of https://github.com/hashicorp/consul
19 lines
353 B
JavaScript
19 lines
353 B
JavaScript
import Route from 'consul-ui/routing/route';
|
|
|
|
export default class IndexRoute extends Route {
|
|
queryParams = {
|
|
sortBy: 'sort',
|
|
status: 'status',
|
|
source: 'source',
|
|
kind: 'kind',
|
|
searchproperty: {
|
|
as: 'searchproperty',
|
|
empty: [['Name', 'Tags']],
|
|
},
|
|
search: {
|
|
as: 'filter',
|
|
replace: true,
|
|
},
|
|
};
|
|
}
|