Skip to content

Commit

Permalink
Fix web npe
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoyan1998 committed Nov 27, 2024
1 parent 697ac66 commit 2857ce7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default (props: {
const res = await handleGetOptionWithoutMsg(API_CONSTANTS.GET_LATEST_HISTORY_BY_ID, {
id: taskId
});
historyIdParam = res.data.id;
historyIdParam = res?.data?.id;
}
if (historyIdParam) {
const tableData = await handleGetOption(
Expand Down

0 comments on commit 2857ce7

Please sign in to comment.