mirror of
https://github.com/weaveworks/scope.git
synced 2026-05-06 01:08:03 +00:00
Show multiple relatives in the nodes-grid view
This commit is contained in:
@@ -26,3 +26,7 @@ export function moveElement(array, from, to) {
|
||||
}
|
||||
return insertElement(removeElement(array, from), to, array[from]);
|
||||
}
|
||||
|
||||
export function intersperse(items, value) {
|
||||
return [].concat(...items.map(e => [value, e])).slice(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user