mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 06:16:01 +00:00
fix: typed commands in console
This commit is contained in:
parent
7f6c1be390
commit
9d34355994
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user