Skip to content

Commit

Permalink
fix type with company field #67
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigura committed Sep 13, 2019
1 parent 5b021d4 commit 32ef33b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/components/FilterView/CompanyTokenField.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ type Props = {

const CompanyTokenField = ({ onChange, source, value }: Props) => {
return source.length > 1
? <Select autoWidth label={`Users (${source.length})`} onChange={e => onChange(e.target.value)} value={value}>
{source.map(x => (<MenuItem key={x.value} value={x.valur}>{x.label}</MenuItem>))}
? <Select autoWidth style={{ display: 'flex' }} label={`Users (${source.length})`} onChange={e => onChange(e.target.value)} value={value}>
{source.map(x => (<MenuItem key={x.value} value={x.value}>{x.label}</MenuItem>))}
</Select>
: null;
};
Expand Down

0 comments on commit 32ef33b

Please sign in to comment.