Commit a0f4f09b authored by Oleksii Savran's avatar Oleksii Savran

Subsets: existing list of accessions when creating new subset.

parent 4f4842be
......@@ -36,6 +36,7 @@ export const removeSubset = (subset: Subset) => ({
export const createSubset = () => (dispatch) => {
dispatch(receiveSubset(new Subset()));
dispatch(receiveAccessions(null));
};
const receiveAccessions = (accessionRefs: Page<AccessionRef>, error = null) => ({
......
......@@ -55,7 +55,7 @@ class BasicInfoStep extends React.Component<ILoginContainerProps, any> {
options={ crops }
valueField="shortName"
renderOptionLabel={ (crop) => crop.name }
formLabel={ t('subsets.dashboard.p.stepper.basicInfo.crops.label') }
formLabel={ t('subsets.dashboard.p.stepper.basicInfo.crops') }
/>
<Field
name="date"
......
Markdown is supported
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