Skip to content

Commit

Permalink
Merge branch 'main' into task/WP-211-support-for-targetPath-of-fileIn…
Browse files Browse the repository at this point in the history
…puts
  • Loading branch information
chandra-tacc authored Sep 13, 2023
2 parents c018556 + 9a3bf2e commit 8500d76
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions client/src/components/Applications/AppForm/AppForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ import { Link } from 'react-router-dom';
import { getSystemName } from 'utils/systems';
import FormSchema from './AppFormSchema';
import {
<<<<<<< HEAD
checkAndSetDefaultTargetPath,
=======
>>>>>>> 47de92d3 (Add target path for every file input)
isTargetPathField,
getInputFieldFromTargetPathField,
getQueueMaxMinutes,
Expand Down Expand Up @@ -597,24 +594,6 @@ export const AppSchemaForm = ({ app }) => {
{Object.entries(appFields.fileInputs).map(
([name, field]) => {
// TODOv3 handle fileInputArrays https://jira.tacc.utexas.edu/browse/WP-81
<<<<<<< HEAD
return isTargetPathField(name) ? (
<FormField
{...field}
name={`fileInputs.${name}`}
placeholder="Target Path Name"
key={`fileInputs.${name}`}
/>
) : (
<FormField
{...field}
name={`fileInputs.${name}`}
tapisFile
SelectModal={DataFilesSelectModal}
placeholder="Browse Data Files"
key={`fileInputs.${name}`}
/>
=======
return (
isTargetPathField(name)?
<FormField
Expand All @@ -631,7 +610,6 @@ export const AppSchemaForm = ({ app }) => {
placeholder="Browse Data Files"
key={`fileInputs.${name}`}
/>
>>>>>>> 47de92d3 (Add target path for every file input)
);
}
)}
Expand Down

0 comments on commit 8500d76

Please sign in to comment.