REFACTOR: removes implicit operand conversion (#9700)

This commit is contained in:
Joffrey JAFFEUX 2020-05-08 09:19:36 +02:00 committed by GitHub
parent 6359a5f8a9
commit 9d172eeaa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,7 @@ export default SelectKitComponent.extend({
event.stopPropagation();
const input = this.getFilterInput();
if (input && !input.value.length >= 1) {
if (input && input.value.length === 0) {
const selected = this.element.querySelectorAll(
".select-kit-header .choice.select-kit-selected-name"
);