Skip to content
Snippets Groups Projects
Commit 3aa1c990 authored by Audrey Hamelers's avatar Audrey Hamelers
Browse files

#516

parent c4454414
No related branches found
No related tags found
2 merge requests!116Shared data model,!117Dev
......@@ -47,7 +47,7 @@ const FPage = props => (
const LPage = props => (
<TextField className={props.className} label="Last page" {...props.field} />
)
const Elocation = props => (
const ELocation = props => (
<TextField className={props.className} label="eLocation" {...props.field} />
)
const DOI = props => <TextField label="DOI" {...props.field} />
......@@ -109,7 +109,7 @@ const CitationForm = ({ values, errors, touched, ...props }) => (
className={!values.fpage && values.elocationId && 'current'}
onClick={e => toggleSwitch(e.currentTarget)}
>
Elocation
eLocation
</Action>
</SmallToggle>
<Flex>
......@@ -125,7 +125,7 @@ const CitationForm = ({ values, errors, touched, ...props }) => (
/>
<Field
className={(!values.elocationId || values.fpage) && 'hidden'}
component={Elocation}
component={ELocation}
name="elocationId"
/>
</Flex>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment