Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/server/paramiko-3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chandra-tacc authored Dec 20, 2023
2 parents 84230bb + df09006 commit ce70eaf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 2 additions & 0 deletions client/src/components/Applications/AppForm/AppForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ AppInfo.propTypes = {

export const AppSchemaForm = ({ app }) => {
const dispatch = useDispatch();

useEffect(() => {
dispatch({ type: 'GET_SYSTEM_MONITOR' });
}, [dispatch]);
Expand Down Expand Up @@ -387,6 +388,7 @@ export const AppSchemaForm = ({ app }) => {
</SectionMessage>
</div>
)}

{jobSubmission.response && (
<>
{jobSubmission.error ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const DataFilesPreviewModal = () => {
target={fileType === 'other' ? '' : '_blank'}
>
<i className="icon-exit" />
<span className="toolbar-button-text">Preview File</span>
<span className="toolbar-button-text">Download File</span>
</Button>
</div>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ describe('Data Files Preview Modal', () => {
expect(getByText(/File Preview:/)).toBeDefined();
expect(getByText(/test\.txt/)).toBeDefined();
expect(getByText('Unable to show preview.')).toBeDefined();
expect(getByText(/Preview File/)).toBeDefined();
expect(getByText(/Download File/)).toBeDefined();
});
});
8 changes: 0 additions & 8 deletions client/src/redux/sagas/apps.sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,7 @@ const getCurrentApp = (state) => state.app;

function* getApp(action) {
const { appId, appVersion } = action.payload;
const currentApp = yield select(getCurrentApp);

if (
currentApp.definition.id === appId &&
currentApp.definition.version === appVersion &&
!currentApp.systemNeedsKeys
) {
return;
}
yield put({ type: 'FLUSH_SUBMIT' });
yield put({ type: 'GET_APP_START' });
try {
Expand Down

0 comments on commit ce70eaf

Please sign in to comment.