mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-28 21:18:54 +03:00
fix: prevent mark all to send useless requests between single mark (#799)
This commit is contained in:
parent
93d3fdc85a
commit
2fdeb63c83
1 changed files with 2 additions and 1 deletions
|
@ -138,8 +138,9 @@ export default defineComponent({
|
|||
},
|
||||
async markAllAsRead() {
|
||||
for (const article of this.unreadArticles) {
|
||||
await this.markAsRead(article)
|
||||
await qbit.markAsRead(article.feedName, article.id)
|
||||
}
|
||||
this.$store.commit('FETCH_FEEDS')
|
||||
},
|
||||
handleKeyboardShortcut(e: KeyboardEvent) {
|
||||
if (e.key === 'Escape') {
|
||||
|
|
Loading…
Reference in a new issue