X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/06eb8bc68a992559581124342faae0044f1b0406..3836b03c452312671a8799215c79542867e43338:/src/views-components/collection-properties/update-collection-properties-form.tsx diff --git a/src/views-components/collection-properties/update-collection-properties-form.tsx b/src/views-components/collection-properties/update-collection-properties-form.tsx index 13a29ad4..940e318c 100644 --- a/src/views-components/collection-properties/update-collection-properties-form.tsx +++ b/src/views-components/collection-properties/update-collection-properties-form.tsx @@ -5,6 +5,7 @@ import { reduxForm, reset } from 'redux-form'; import { withStyles } from '@material-ui/core'; import { + COLLECTION_UPDATE_FORM_NAME, COLLECTION_UPDATE_PROPERTIES_FORM_NAME } from 'store/collections/collection-update-actions'; import { @@ -26,7 +27,7 @@ const Form = withStyles( export const UpdateCollectionPropertiesForm = reduxForm({ form: COLLECTION_UPDATE_PROPERTIES_FORM_NAME, onSubmit: (data, dispatch) => { - dispatch(addPropertyToResourceForm(data, COLLECTION_UPDATE_PROPERTIES_FORM_NAME)); + dispatch(addPropertyToResourceForm(data, COLLECTION_UPDATE_FORM_NAME)); dispatch(reset(COLLECTION_UPDATE_PROPERTIES_FORM_NAME)); } })(Form); \ No newline at end of file