make the addNotice dispatch return the notice
This commit is contained in:
parent
1293bec77e
commit
685ab4f33e
@ -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 New Issue
Block a user