diff --git a/frontend/src/views/Admin.jsx b/frontend/src/views/Admin.jsx index aab163de..b074e404 100755 --- a/frontend/src/views/Admin.jsx +++ b/frontend/src/views/Admin.jsx @@ -805,7 +805,7 @@ If you're interested, please let me know a time that works for you, or set up a .then((responseJson) => { setWebHooks(responseJson.webhooks || []); // Handling the case where the result is null or undefined setAllSchedules(responseJson.schedules || []); - // setPipelines(responseJson.pipelines || []); + setPipelines(responseJson.pipelines || []); }) .catch((error) => { // toast(error.toString()); @@ -990,11 +990,13 @@ If you're interested, please let me know a time that works for you, or set up a } const data = { + command: pipeline.command, name: pipeline.name, type: state, environment: pipeline.environment, workflow_id: pipeline.workflow_id, trigger_id: pipeline.trigger_id, + start_node: pipeline.start_node, }; if (state === "start") toast("starting the pipeline"); @@ -1025,6 +1027,7 @@ If you're interested, please let me know a time that works for you, or set up a if (state === "start") toast("Successfully created pipeline"); else toast("Sucessfully stopped the pipeline"); } + setTimeout(handleGetAllTriggers, 1000); }) .catch((error) => { //toast(error.toString()); @@ -4938,7 +4941,7 @@ If you're interested, please let me know a time that works for you, or set up a