mirror of
https://github.com/CzBiX/qb-web.git
synced 2026-05-01 22:30:55 +08:00
Add reannounce and recheck button
This commit is contained in:
@@ -69,6 +69,13 @@
|
||||
</v-list-tile>
|
||||
</v-list>
|
||||
</v-menu>
|
||||
<v-divider vertical inset />
|
||||
<v-btn icon @click="reannounceTorrents" title="Reannounce">
|
||||
<v-icon>mdi-bullhorn</v-icon>
|
||||
</v-btn>
|
||||
<v-btn icon @click="recheckTorrents" title="Recheck">
|
||||
<v-icon>mdi-backup-restore</v-icon>
|
||||
</v-btn>
|
||||
</v-toolbar>
|
||||
<v-divider />
|
||||
</v-layout>
|
||||
@@ -343,6 +350,12 @@ export default Vue.extend({
|
||||
async pauseTorrents() {
|
||||
await api.pauseTorrents(this.selectedHashes);
|
||||
},
|
||||
async reannounceTorrents() {
|
||||
await api.reannounceTorrents(this.selectedHashes);
|
||||
},
|
||||
async recheckTorrents() {
|
||||
await api.recheckTorrents(this.selectedHashes);
|
||||
},
|
||||
async setTorrentsCategory(category: string) {
|
||||
await api.setTorrentsCategory(this.selectedHashes, category);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user