Skip to content

Commit

Permalink
fix: typed commands in console
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Medeiros authored and iurimatias committed Mar 18, 2019
1 parent 7f6c1be commit 9d34355
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/embark-ui/src/components/Console.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9d34355

Please sign in to comment.