Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Commit

Permalink
Added brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Jul 27, 2020
1 parent 9536e09 commit 43f96d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/combo-box/AtomXFComboBox.tsx
Expand Up @@ -129,8 +129,8 @@ export default class AtomXFComboBox extends AtomXFControl {
"selectedItem",
[["this", "value"]],
true, {
fromSource: (v) => v !== undefined && v !== null && this.items
? this.items.find((x) => vf(x) === v) || this.selectedItem
fromSource: (v) => (v !== undefined && v !== null && this.items)
? (this.items.find((x) => vf(x) === v) || this.selectedItem)
: this.selectedItem,
fromTarget: (v) => vf(v, this.value)
}, this));
Expand Down

0 comments on commit 43f96d8

Please sign in to comment.