Instantly reflect the state change on the favorite flag

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2019-10-16 14:23:42 +02:00
Родитель ffdeb95654
Коммит 29bb9ce3b4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 7076EA9751AACDDA
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -185,6 +185,8 @@ export default {
} else {
await addToFavorites(this.item.token)
}
this.item.isFavorite = !this.item.isFavorite
},
/**
* Set the notification level for the conversation