Skip to content

Commit

Permalink
fix: notify message before run pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: yazhou <[email protected]>
  • Loading branch information
yazhouio committed Oct 20, 2023
1 parent a7f948d commit 809ba8e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/actions/pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
},
})
Expand Down

0 comments on commit 809ba8e

Please sign in to comment.