tidying up

This commit is contained in:
huangjx
2022-07-24 10:54:02 +08:00
parent 96c7128ef7
commit 3a00325042
32 changed files with 146 additions and 144 deletions

View File

@@ -17,11 +17,11 @@ export default {
}
helper.setContentTableType(name);
let delay;
if (!['active-downloads', 'youtube-dl-downloads'].includes(name)) {
if (!['active-downloads', 'ytdl-downloads'].includes(name)) {
delay = 15000;
}
if (name === "youtube-dl-downloads") {
helper.pollingYoutube();
if (name === "ytdl-downloads") {
helper.pollingYtdl();
} else {
helper.polling(delay, path);
}