Skip to content
Snippets Groups Projects
Commit fcc82ab6 authored by Winnie Hellmann's avatar Winnie Hellmann
Browse files

Inline onSelectItem of NamespaceSelect

parent 06376254
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3,7 +3,6 @@ import Api from './api';
 
export default class NamespaceSelect {
constructor(opts) {
this.onSelectItem = this.onSelectItem.bind(this);
var fieldName, showAny;
this.dropdown = $(opts.dropdown);
showAny = true;
Loading
Loading
@@ -51,12 +50,10 @@ export default class NamespaceSelect {
}
},
renderRow: this.renderRow,
clicked: this.onSelectItem
clicked(options) {
const { e } = options;
return e.preventDefault();
},
});
}
onSelectItem(options) {
const { e } = options;
return e.preventDefault();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment