mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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
Block a user