fix: typed commands in console

This commit is contained in:
Andre Medeiros 2019-03-18 12:21:34 -04:00 committed by Iuri Matias
parent 7f6c1be390
commit 9d34355994

View File

@ -21,7 +21,8 @@ class Console extends Component {
handleSubmit(event) {
const instance = this.typeahead.getInstance();
if(instance.state.selected.length === 0) {
const activeItem = instance.state.activeItem || {};
if(activeItem.paginationOption) {
return;
}