X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/42c529f08bbeccaeb0d4c07f639c74504569c621..d6a65f155ca546aea3a777e73076c2c80f2c88cc:/src/components/move-to-dialog/move-to-dialog.tsx

diff --git a/src/components/move-to-dialog/move-to-dialog.tsx b/src/components/move-to-dialog/move-to-dialog.tsx
index df66c01269..2bfc2c3d66 100644
--- a/src/components/move-to-dialog/move-to-dialog.tsx
+++ b/src/components/move-to-dialog/move-to-dialog.tsx
@@ -6,11 +6,11 @@ import * as React from "react";
 import { Field, InjectedFormProps, WrappedFieldProps } from "redux-form";
 import { Dialog, DialogTitle, DialogContent, DialogActions, Button, CircularProgress } from "@material-ui/core";
 
-import { WithDialogProps } from "../../store/dialog/with-dialog";
-import { ProjectTreePickerWithSidePanel } from "../../views-components/project-tree-picker/project-tree-picker";
-import { MOVE_TO_VALIDATION } from "../../validators/move-to/move-to-validator";
+import { WithDialogProps } from "~/store/dialog/with-dialog";
+import { ProjectTreePicker } from "~/views-components/project-tree-picker/project-tree-picker";
+import { MOVE_TO_VALIDATION } from "~/validators/validators";
 
-export const MoveTo = (props: WithDialogProps<string> & InjectedFormProps<{ name: string }>) =>
+export const MoveToDialog = (props: WithDialogProps<string> & InjectedFormProps<{ name: string }>) =>
     <form>
         <Dialog open={props.open}
             disableBackdropClick={true}
@@ -36,9 +36,7 @@ export const MoveTo = (props: WithDialogProps<string> & InjectedFormProps<{ name
                     type='submit'
                     onClick={props.handleSubmit}
                     disabled={props.pristine || props.invalid || props.submitting}>
-                    {props.submitting
-                        ? <CircularProgress size={20} />
-                        : 'Move'}
+                    {props.submitting ? <CircularProgress size={20} /> : 'Move'}
                 </Button>
             </DialogActions>
         </Dialog>
@@ -46,5 +44,5 @@ export const MoveTo = (props: WithDialogProps<string> & InjectedFormProps<{ name
 
 const Picker = (props: WrappedFieldProps) =>
     <div style={{ width: '400px', height: '144px', display: 'flex', flexDirection: 'column' }}>
-        <ProjectTreePickerWithSidePanel onChange={projectUuid => props.input.onChange(projectUuid)} />
+       <ProjectTreePicker onChange={projectUuid => props.input.onChange(projectUuid)} /> 
     </div>;
\ No newline at end of file
