REFACTOR: removes useless conditional (#9667)
This use of variable 'content' always evaluates to true.
This commit is contained in:
parent
864f48b2e6
commit
5a201082c7
|
@ -104,7 +104,7 @@ export default SelectKitComponent.extend({
|
|||
}
|
||||
});
|
||||
|
||||
return this.selectKit.modifySelection(content || []);
|
||||
return this.selectKit.modifySelection(content);
|
||||
} else {
|
||||
return this.selectKit.noneItem;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue