open-consul/ui/packages/consul-ui/app/routes/dc/services/show/upstreams.js

17 lines
321 B
JavaScript

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