make the addNotice dispatch return the notice
This commit is contained in:
parent
1293bec77e
commit
685ab4f33e
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ const interfaceMod = {
|
|||
setTimeout(() => dispatch('removeGlobalNotice', notice), timeout)
|
||||
}
|
||||
commit('pushGlobalNotice', notice)
|
||||
return notice
|
||||
},
|
||||
removeGlobalNotice ({ commit }, notice) {
|
||||
commit('removeGlobalNotice', notice)
|
||||
|
|
Loading…
Reference in a new issue