Add ability to kick selected node at WFC
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user