diff options
author | Anton Tananaev <anton@traccar.org> | 2022-09-05 11:08:49 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-09-05 11:08:49 -0700 |
commit | 1beb6c174a0622126d704ecc2dd26a8d1b70460d (patch) | |
tree | a1289853a7a87e32d58124868c43ba147d925526 /modern/src/common | |
parent | ffef2c928a8fd4d3903c64a4183e8d138c85bba3 (diff) | |
download | trackermap-web-1beb6c174a0622126d704ecc2dd26a8d1b70460d.tar.gz trackermap-web-1beb6c174a0622126d704ecc2dd26a8d1b70460d.tar.bz2 trackermap-web-1beb6c174a0622126d704ecc2dd26a8d1b70460d.zip |
Handle limit commands
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/components/SelectField.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modern/src/common/components/SelectField.js b/modern/src/common/components/SelectField.js index bbc661c2..2ee2f147 100644 --- a/modern/src/common/components/SelectField.js +++ b/modern/src/common/components/SelectField.js @@ -39,8 +39,9 @@ const SelectField = ({ value={value} onChange={onChange} > - {!multiple && emptyValue !== null - && <MenuItem value={emptyValue}>{emptyTitle}</MenuItem>} + {!multiple && emptyValue !== null && ( + <MenuItem value={emptyValue}>{emptyTitle}</MenuItem> + )} {items.map((item) => ( <MenuItem key={keyGetter(item)} value={keyGetter(item)}>{titleGetter(item)}</MenuItem> ))} |