refs # Update packages to the newest versions (including TS 3.0.1)
[arvados-workbench2.git] / src / views-components / dialog-update / dialog-collection-update.tsx
index 30a3256d7e5343f992d3fe5d1872f84dca85858a..80a82b27fd97bb27a65dd954603e1cb7c2a965d8 100644 (file)
@@ -8,6 +8,7 @@ import { compose } from 'redux';
 import { ArvadosTheme } from '../../common/custom-theme';
 import { Dialog, DialogActions, DialogContent, DialogTitle, TextField, StyleRulesCallback, withStyles, WithStyles, Button, CircularProgress } from '../../../node_modules/@material-ui/core';
 import { COLLECTION_NAME_VALIDATION, COLLECTION_DESCRIPTION_VALIDATION } from '../../validators/create-project/create-project-validator';
+import { COLLECTION_FORM_NAME } from '../../store/collections/updator/collection-updator-action';
 
 type CssRules = 'content' | 'actions' | 'textField' | 'buttonWrapper' | 'saveButton' | 'circularProgress';
 
@@ -64,7 +65,7 @@ interface TextFieldProps {
 }
 
 export const DialogCollectionUpdate = compose(
-    reduxForm({ form: 'collectionEditDialog' }),
+    reduxForm({ form: COLLECTION_FORM_NAME }),
     withStyles(styles))(
 
         class DialogCollectionUpdate extends React.Component<DialogCollectionProps> {