mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Re-enable rule prefer-destructuring (only for objects) (#10867)
This commit is contained in:
committed by
GitHub
parent
c51168a30a
commit
352e8a1afd
@@ -173,7 +173,7 @@ export default class SelectControl extends React.PureComponent {
|
||||
}
|
||||
|
||||
handleKeyDownForCreate(event) {
|
||||
const key = event.key;
|
||||
const { key } = event;
|
||||
if (key === 'Tab' || (this.props.commaChoosesOption && key === ',')) {
|
||||
// simulate an Enter event
|
||||
if (this.select) {
|
||||
|
||||
Reference in New Issue
Block a user