update steps status after deploy

This commit is contained in:
Danil Kovtonyuk 2020-11-03 23:37:17 +10:00
parent b97b2312fa
commit f058d52308

View File

@ -97,13 +97,13 @@ const actions = {
{ root: true } { root: true }
) )
const result = await dispatch( const success = await dispatch(
'txStorage/runTxWatcher', 'txStorage/runTxWatcher',
{ txHash }, { txHash },
{ root: true } { root: true }
) )
if (result) { if (success) {
dispatch( dispatch(
'notice/updateNotice', 'notice/updateNotice',
{ {
@ -116,6 +116,7 @@ const actions = {
}, },
{ root: true } { root: true }
) )
dispatch('steps/fetchDeploymentStatus', {}, { root: true })
} else { } else {
dispatch( dispatch(
'notice/updateNotice', 'notice/updateNotice',