Remove fields for editing Storage location

This commit is contained in:
Tanner Collin 2023-05-31 02:47:58 +00:00
parent 004a6e4b9f
commit b2348f2129

View File

@ -18,12 +18,6 @@ export function StorageEditor(props) {
error: error[name], error: error[name],
}); });
const locationOptions = [
{ key: '0', text: 'Member Shelves', value: 'member_shelves' },
{ key: '1', text: 'Lockers', value: 'lockers' },
{ key: '2', text: 'Large Project Storage', value: 'large_project_storage' },
];
return ( return (
<div className='transaction-editor'> <div className='transaction-editor'>
<Form.Field error={error.member_id}> <Form.Field error={error.member_id}>
@ -37,14 +31,6 @@ export function StorageEditor(props) {
/> />
</Form.Field> </Form.Field>
<Form.Select
label='Location'
fluid
options={locationOptions}
{...makeProps('location')}
onChange={handleValues}
/>
<Form.Input <Form.Input
label='Memo' label='Memo'
fluid fluid
@ -156,7 +142,7 @@ function StorageTable(props) {
</Table.Row> </Table.Row>
<Table.Row> <Table.Row>
<Table.Cell>Memo:</Table.Cell> <Table.Cell>Memo:</Table.Cell>
<Table.Cell>{storage.memo}</Table.Cell> <Table.Cell>{storage.memo || 'None'}</Table.Cell>
</Table.Row> </Table.Row>
</Table.Body> </Table.Body>
</BasicTable> </BasicTable>