REFACTOR: removes useless conditional (#9667)

This use of variable 'content' always evaluates to true.
This commit is contained in:
Joffrey JAFFEUX 2020-05-07 16:25:44 +02:00 committed by GitHub
parent 864f48b2e6
commit 5a201082c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ export default SelectKitComponent.extend({
}
});
return this.selectKit.modifySelection(content || []);
return this.selectKit.modifySelection(content);
} else {
return this.selectKit.noneItem;
}