Fix: Todo Multi refresh ...

fix some promises problem
This commit is contained in:
Paolo Arena
2019-02-14 19:01:32 +01:00
parent 6931d57005
commit bfa8a48211
3 changed files with 5 additions and 10 deletions

View File

@@ -183,16 +183,16 @@ namespace Actions {
let options = null
// If is not already stored in DB, then show the message to the user.
// if (!state.wasAlreadySubscribed) {
if (!state.wasAlreadySubscribed) {
options = {
title: translate('notification.title_subscribed'),
content: translate('notification.subscribed'),
openUrl: '/'
}
// }
}
let myres = {
options: { ...options },
options,
subs: newSub,
others: {
userId: UserStore.state.userId,