X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/42c529f08bbeccaeb0d4c07f639c74504569c621..45d9b3d7298daf82bfb93c82e4f2f8c125c45e79:/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 df66c012..2bfc2c3d 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 & InjectedFormProps<{ name: string }>) => +export const MoveToDialog = (props: WithDialogProps & InjectedFormProps<{ name: string }>) =>
& InjectedFormProps<{ name type='submit' onClick={props.handleSubmit} disabled={props.pristine || props.invalid || props.submitting}> - {props.submitting - ? - : 'Move'} + {props.submitting ? : 'Move'} @@ -46,5 +44,5 @@ export const MoveTo = (props: WithDialogProps & InjectedFormProps<{ name const Picker = (props: WrappedFieldProps) =>
- props.input.onChange(projectUuid)} /> + props.input.onChange(projectUuid)} />
; \ No newline at end of file