diff --git a/src/actions/pipeline.js b/src/actions/pipeline.js index bdf92d0fa03..4370cf9d586 100644 --- a/src/actions/pipeline.js +++ b/src/actions/pipeline.js @@ -259,6 +259,7 @@ export default { on({ store, success, devops, cluster, ...props }) { const modal = Modal.open({ onOk: async (parameters, branch) => { + Notify.success({ content: `${t('PIPELINE_RUN_START_SI')}` }) await store.runBranch({ devops, name: props.params.name, diff --git a/src/pages/devops/containers/Pipelines/Detail/Activity/index.jsx b/src/pages/devops/containers/Pipelines/Detail/Activity/index.jsx index 90ec69e43a9..3f732688a69 100644 --- a/src/pages/devops/containers/Pipelines/Detail/Activity/index.jsx +++ b/src/pages/devops/containers/Pipelines/Detail/Activity/index.jsx @@ -145,7 +145,6 @@ export default class Activity extends React.Component { disabledBrancheNames: toJS(detail.disabledBrancheNames), parameters: toJS(detail.parameters), success: () => { - Notify.success({ content: `${t('PIPELINE_RUN_START_SI')}` }) this.handleFetch() }, })