mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Details panel: send topology options of node type being loaded
This commit is contained in:
@@ -163,10 +163,11 @@ export function getNodesDelta(topologyUrl, options, dispatch) {
|
||||
}
|
||||
}
|
||||
|
||||
export function getNodeDetails(topologyUrlsById, options, nodeMap, dispatch) {
|
||||
export function getNodeDetails(topologyUrlsById, topologyOptions, nodeMap, dispatch) {
|
||||
// get details for all opened nodes
|
||||
const obj = nodeMap.last();
|
||||
if (obj && topologyUrlsById.has(obj.topologyId)) {
|
||||
const options = topologyOptions.get(obj.topologyId);
|
||||
const topologyUrl = topologyUrlsById.get(obj.topologyId);
|
||||
const optionsQuery = buildOptionsQuery(options);
|
||||
const url = [topologyUrl, '/', encodeURIComponent(obj.id), '?', optionsQuery]
|
||||
|
||||
Reference in New Issue
Block a user