Skip to content

Commit

Permalink
Merge #115601
Browse files Browse the repository at this point in the history
115601: ui: dispatch refresh action from JobDetailsPageConnected component r=koorosh a=koorosh

Dispatch actual action to refresh Job Details page in JobDetailsPageConnected component. Before, there was a missing invocation of `dispatch` function that led to not loading any job information on Job Details page.

Release note: None

Resolves: https://cockroachlabs.atlassian.net/browse/CC-26515

Co-authored-by: Andrii Vorobiov <[email protected]>
  • Loading branch information
craig[bot] and koorosh committed Dec 5, 2023
2 parents bd55d22 + 7db4474 commit 33638be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const mapStateToProps = (
};

const mapDispatchToProps = (dispatch: Dispatch): JobDetailsDispatchProps => ({
refreshJob: (req: JobRequest) => jobActions.refresh(req),
refreshJob: (req: JobRequest) => dispatch(jobActions.refresh(req)),
refreshExecutionDetailFiles: (req: ListJobProfilerExecutionDetailsRequest) =>
dispatch(jobProfilerActions.refresh(req)),
onRequestExecutionDetails: (jobID: long) => {
Expand Down

0 comments on commit 33638be

Please sign in to comment.