Skip to content

Commit

Permalink
correct setValue to include / (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
carrythemountain authored Aug 30, 2024
1 parent cc8c42a commit 78ba97c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const FormikTapisFileInput: React.FC<FormikTapisFileInputProps> = ({
const onSelect = useCallback(
(systemId: string | null, files: Array<Files.FileInfo>) => {
if (allowSystemChange) {
setValue(`tapis://${systemId ?? ''}${files[0].path}`);
setValue(`tapis://${systemId ?? ''}/${files[0].path}`);
} else {
setValue(`${files[0].path}`);
}
Expand Down

0 comments on commit 78ba97c

Please sign in to comment.