Skip to content

Commit

Permalink
fix(tree-select): fixed error for test unit (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
pimenovoleg authored and lskramarov committed Mar 7, 2019
1 parent 5167225 commit e7af9ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module.exports = {
'toggle',
'tooltip',
'tree',
'tree-select',
'typography',
'visual'
]
Expand Down
2 changes: 1 addition & 1 deletion src/lib/tree-select/tree-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ export class McTreeSelect extends McTreeSelectMixinBase implements
event.preventDefault();

this.open();
} else if (!this.multiple) {
} else if (!this.multiple && this.tree.keyManager && this.tree.keyManager.onKeydown) {
this.tree.keyManager.onKeydown(event);
}
}
Expand Down

0 comments on commit e7af9ca

Please sign in to comment.