X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/8b501e5ced1608766db8d16022d34c1ad363fcc8..8a057a6a69f4182cd3adc67c7d1071832ffeaa0b:/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..51f5fbf6 100644 --- a/src/components/move-to-dialog/move-to-dialog.tsx +++ b/src/components/move-to-dialog/move-to-dialog.tsx @@ -6,9 +6,9 @@ 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 }>) =>
@@ -36,9 +36,7 @@ export const MoveTo = (props: WithDialogProps & 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