Add ability to kick selected node at WFC

This commit is contained in:
Bryan Ashby
2022-06-13 21:53:11 -06:00
parent dde5079414
commit 1a93ab9be0
6 changed files with 121 additions and 4 deletions

View File

@@ -651,6 +651,16 @@ function displayThemedPrompt(name, client, options, cb) {
? new ViewController({ client: client })
: options.viewController;
// adjust MCI positions relative to |position|
if (options.position) {
_.forEach(artInfo.mciMap, mci => {
if (mci.position) {
mci.position[0] = options.position.row;
mci.position[1] += options.position.col;
}
});
}
const loadOpts = {
promptName: name,
mciMap: artInfo.mciMap,