Skip to content

Commit

Permalink
additional testing reversal
Browse files Browse the repository at this point in the history
  • Loading branch information
jalowe13 committed Nov 22, 2024
1 parent cb765f5 commit 4129c40
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/src/components/Submissions/Submissions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ export const SubmissionsUpload = () => {
};

const { data: allSystems } = useSystems();
let submissionSystem = allSystems.find((s) => s.type === 'submission');
submissionSystem = allSystems.find((s) => s.name === 'My Data (Work)');
const submissionSystem = allSystems.find((s) => s.type === 'submission');
const uploadPath = '';

const { status, upload } = useUpload();
Expand Down Expand Up @@ -125,7 +124,7 @@ export const SubmissionsUpload = () => {

const Submissions = () => {
const getSubmitterRole = async () => {
let response = await fetchUtil({
const response = await fetchUtil({
url: '/submissions/check-submitter-role/',
});
return response;
Expand Down
1 change: 1 addition & 0 deletions client/src/components/Workbench/Workbench.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ function Workbench() {
dispatch({ type: 'PROJECTS_GET_LISTING' });
}
}, [setupComplete]);

return (
<div className="workbench-wrapper">
<NotificationToast />
Expand Down
1 change: 1 addition & 0 deletions client/src/redux/sagas/datafiles.sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ export async function uploadFileUtil(api, scheme, system, path, file) {
const responseText = await request.text();
throw new Error(responseText);
}
throw new Error(request.status);
}
return request;
}
Expand Down

0 comments on commit 4129c40

Please sign in to comment.