mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
Add filters to details panel request
This commit is contained in:
@@ -163,12 +163,13 @@ export function getNodesDelta(topologyUrl, options, dispatch) {
|
||||
}
|
||||
}
|
||||
|
||||
export function getNodeDetails(topologyUrlsById, nodeMap, dispatch) {
|
||||
export function getNodeDetails(topologyUrlsById, options, nodeMap, dispatch) {
|
||||
// get details for all opened nodes
|
||||
const obj = nodeMap.last();
|
||||
if (obj && topologyUrlsById.has(obj.topologyId)) {
|
||||
const topologyUrl = topologyUrlsById.get(obj.topologyId);
|
||||
const url = [topologyUrl, '/', encodeURIComponent(obj.id)]
|
||||
const optionsQuery = buildOptionsQuery(options);
|
||||
const url = [topologyUrl, '/', encodeURIComponent(obj.id), '?', optionsQuery]
|
||||
.join('').substr(1);
|
||||
reqwest({
|
||||
url,
|
||||
|
||||
Reference in New Issue
Block a user