X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/c47ae7ee3d75544d534b020e7e1c8c45e30f584e..ed4406ba8ac546be9838d26c47a5ed5766f6698c:/src/views/run-process-panel/run-process-advanced-form.tsx?ds=inline

diff --git a/src/views/run-process-panel/run-process-advanced-form.tsx b/src/views/run-process-panel/run-process-advanced-form.tsx
index 5bec245a..cdebdba5 100644
--- a/src/views/run-process-panel/run-process-advanced-form.tsx
+++ b/src/views/run-process-panel/run-process-advanced-form.tsx
@@ -15,15 +15,15 @@ import { optional } from '~/validators/optional';
 
 export const RUN_PROCESS_ADVANCED_FORM = 'runProcessAdvancedForm';
 
-const OUTPUT_FIELD = 'output';
-const RUNTIME_FIELD = 'runtime';
-const RAM_FIELD = 'ram';
-const VCPUS_FIELD = 'vcpus';
-const KEEP_CACHE_RAM_FIELD = 'keepCacheRam';
+export const OUTPUT_FIELD = 'output';
+export const RUNTIME_FIELD = 'runtime';
+export const RAM_FIELD = 'ram';
+export const VCPUS_FIELD = 'vcpus';
+export const KEEP_CACHE_RAM_FIELD = 'keepCacheRam';
 
 export interface RunProcessAdvancedFormData {
     [OUTPUT_FIELD]?: string;
-    [RUNTIME_FIELD]?: string;
+    [RUNTIME_FIELD]?: number;
     [RAM_FIELD]: number;
     [VCPUS_FIELD]: number;
     [KEEP_CACHE_RAM_FIELD]?: number;
@@ -32,10 +32,6 @@ export interface RunProcessAdvancedFormData {
 export const RunProcessAdvancedForm =
     reduxForm<RunProcessAdvancedFormData>({
         form: RUN_PROCESS_ADVANCED_FORM,
-        initialValues: {
-            [RAM_FIELD]: 1073741824,
-            [VCPUS_FIELD]: 1,
-        },
     })(() =>
         <form>
             <ExpansionPanel elevation={0}>
