mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-30 05:20:55 +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() {
|
async markAllAsRead() {
|
||||||
for (const article of this.unreadArticles) {
|
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) {
|
handleKeyboardShortcut(e: KeyboardEvent) {
|
||||||
if (e.key === 'Escape') {
|
if (e.key === 'Escape') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue