1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import * as React from 'react';
6 import { InjectedFormProps } from 'redux-form';
7 import { WithDialogProps } from '~/store/dialog/with-dialog';
8 import { ProcessUpdateFormDialogData } from '~/store/processes/process-update-actions';
9 import { FormDialog } from '~/components/form-dialog/form-dialog';
10 import { ProcessNameField } from '~/views-components/form-fields/process-form-fields';
12 type DialogProcessProps = WithDialogProps<{}> & InjectedFormProps<ProcessUpdateFormDialogData>;
14 export const DialogProcessUpdate = (props: DialogProcessProps) =>
16 dialogTitle='Edit Process'
17 formFields={ProcessEditFields}
22 const ProcessEditFields = () => <span>