open-consul/ui/packages/consul-ui/app/routes/dc/intentions/index.js

17 lines
330 B
JavaScript

import Route from 'consul-ui/routing/route';
export default class IndexRoute extends Route {
queryParams = {
sortBy: 'sort',
access: 'access',
searchproperty: {
as: 'searchproperty',
empty: [['SourceName', 'DestinationName']],
},
search: {
as: 'filter',
replace: true,
},
};
}