Skip to content

A full-featured download manager.

fix: stop seeding params gid

Dr_rOot60e4907be683
diff --git a/src/renderer/store/modules/task.js b/src/renderer/store/modules/task.js
index 6cf7bf22..4e1ec745 100644
--- a/src/renderer/store/modules/task.js
+++ b/src/renderer/store/modules/task.js
@@ -185,7 +185,7 @@ const actions = {
const list = [...seedingList.slice(0, idx), ...seedingList.slice(idx + 1)]
commit('UPDATE_SEEDING_LIST', list)
},
- stopSeeding ({ dispatch }, gid) {
+ stopSeeding ({ dispatch }, { gid }) {
const options = {
seedTime: 0
}