| | |
| | | onChange={(event) => setTypeFilter(event.target.value)} |
| | | > |
| | | <MenuItem value=""> |
| | | {translate('common.action.reset')} |
| | | {translate('common.action.deselect')} |
| | | </MenuItem> |
| | | {RESERVE_TYPE_OPTIONS.map((option) => ( |
| | | <MenuItem key={option} value={option}> |
| | |
| | | onChange={(event) => setStateFilter(event.target.value)} |
| | | > |
| | | <MenuItem value=""> |
| | | {translate('common.action.reset')} |
| | | {translate('common.action.deselect')} |
| | | </MenuItem> |
| | | {RESERVE_STATE_OPTIONS.map((option) => ( |
| | | <MenuItem key={option} value={option}> |
| | |
| | | if (id === undefined || id === null || id === '') { |
| | | return '-'; |
| | | } |
| | | return map?.[id] || id; |
| | | return map?.[id] || '-'; |
| | | }; |
| | | |
| | | const formatReserveType = (value, translate) => |