Skip to content

Commit

Permalink
Fixing missing graph status.
Browse files Browse the repository at this point in the history
  • Loading branch information
mansoor-sajjad committed Dec 16, 2024
1 parent b6b554e commit 57594ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actions/SuppliersActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -764,12 +764,12 @@ SuppliersActions.getGraphStatus = () => async (dispatch, getState) => {
otherStatus: []
};
response.data.forEach(type => {
if (type.jobType === 'OTP_BUILD_GRAPH') {
if (type.jobType === 'OTP2_BUILD_GRAPH') {
status.graphStatus.otp2 = {
status: type.currentState,
started: type.currentStateDate
};
} else if (type.jobType === 'OTP_BUILD_BASE') {
} else if (type.jobType === 'OTP2_BUILD_BASE') {
status.baseGraphStatus.otp2 = {
status: type.currentState,
started: type.currentStateDate
Expand Down

0 comments on commit 57594ef

Please sign in to comment.