Skip to content

Commit 4946fa3

Browse files
committed
fix payload body stop all
1 parent 8f7af50 commit 4946fa3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/actions/pipeline.action.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ export const addPipeline = pipeline => ({
99
},
1010
});
1111

12-
export const stopAllPipeline = (jobId, { onSuccess }) => ({
12+
export const stopAllPipeline = (pipelineName, { onSuccess }) => ({
1313
type: actions.REST_REQ_POST,
1414
payload: {
1515
url: `exec/stop`,
1616
body: {
17-
jobId,
17+
pipelineName,
1818
reason: `Request from simulator, Algorithms-tab Delete action`,
1919
},
2020
actionType: actions.PIPELINE_STOP,
2121
},
22-
meta: { jobId, onSuccess },
22+
meta: { pipelineName, onSuccess },
2323
});
2424

2525
export const stopPipeline = jobId => ({

src/styles/themes/CommonColor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const COMMON_COLOR = () => {
111111
[PIPELINE.COMPLETED]: COLOR.greenLight,
112112
[PIPELINE.CRASHED]: COLOR.redPale,
113113
[PIPELINE.FAILED]: COLOR.red,
114-
[PIPELINE.PENDING]: COLOR.white,
114+
[PIPELINE.PENDING]: COLOR.grey,
115115
[PIPELINE.RESUMED]: COLOR.blueLight,
116116
[PIPELINE.RUNNING]: COLOR.blue,
117117
[PIPELINE.STALLED]: COLOR.darkGrey,

0 commit comments

Comments
 (0)