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

@@ -231,6 +231,9 @@ VerticalMenuView.prototype.onKeyPress = function (ch, key) {
VerticalMenuView.prototype.getData = function () {
const item = this.getItem(this.focusedItemIndex);
if (!item) {
return this.focusedItemIndex;
}
return _.isString(item.data) ? item.data : this.focusedItemIndex;
};