Implement resource moving
[arvados-workbench2.git] / src / views-components / form-dialog / collection-form-dialog.tsx
index 937558cc9ae2e88188b5385058418b06f73bb61e..d5f1d8521aae89fe693ce44efb9e1248eca42413 100644 (file)
@@ -3,20 +3,10 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import * as React from "react";
-import { InjectedFormProps, Field, WrappedFieldProps } from "redux-form";
-import { WithDialogProps } from "~/store/dialog/with-dialog";
+import { Field, WrappedFieldProps } from "redux-form";
 import { TextField } from "~/components/text-field/text-field";
 import { COLLECTION_NAME_VALIDATION, COLLECTION_DESCRIPTION_VALIDATION, COLLECTION_PROJECT_VALIDATION } from "~/validators/validators";
 import { ProjectTreePicker } from "../project-tree-picker/project-tree-picker";
-import { FormDialog } from '../../components/form-dialog/form-dialog';
-
-export const CollectionPartialCopyFormDialog = (props: WithDialogProps<string> & InjectedFormProps<{ name: string }>) =>
-    <FormDialog
-        dialogTitle='Create a collection'
-        formFields={CollectionPartialCopyFields}
-        submitLabel='Create a collection'
-        {...props}
-    />;
 
 export const CollectionPartialCopyFields = () => <div style={{ display: 'flex' }}>
     <div>