Make application_date read-only, remove "On Spaceport"

master
Tanner Collin 2 years ago
parent 554544bde6
commit 41ca60cd6d
  1. 16
      webclient/src/AdminMembers.js

@ -426,11 +426,6 @@ export function AdminMemberForm(props) {
{...makeProps('email')}
/>
<Form.Input
label='Application Date'
{...makeProps('application_date')}
/>
<Form.Input
label='Current Start Date'
{...makeProps('current_start_date')}
@ -501,10 +496,16 @@ export function AdminMemberInfo(props) {
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>Application Date:</Table.Cell>
<Table.Cell>{member.application_date}</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>Expire Date:</Table.Cell>
<Table.Cell>{member.expire_date}</Table.Cell>
</Table.Row>
{member.paused_date && <Table.Row>
<Table.Cell>Paused Date:</Table.Cell>
<Table.Cell>{member.paused_date}</Table.Cell>
@ -537,11 +538,6 @@ export function AdminMemberInfo(props) {
<Table.Cell>{member.emergency_contact_phone || 'None'}</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>On Spaceport:</Table.Cell>
<Table.Cell>{member.user ? 'Yes' : 'No'}</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>Discourse Username:</Table.Cell>
<Table.Cell>{member.discourse_username || '?'}</Table.Cell>

Loading…
Cancel
Save