you don't need to confirm reannounce it's non-atomic

This commit is contained in:
R-L-T-Y
2020-07-15 20:02:54 +08:00
committed by CzBiX
parent 7511c8ab66
commit 4d4187852a

View File

@@ -488,15 +488,6 @@ export default class Torrents extends Vue {
if (!this.hasSelected) {
this.selectedRows = this.allTorrents;
}
const v = await this.asyncShowDialog({
title: 'Reannounce Torrents',
text: 'Are you sure want to reannounce torrents?',
type: DialogType.OkCancel,
});
if (!v) {
return;
}
await api.reannounceTorrents(this.selectedHashes);