Skip to content

A full-featured download manager.

fix: wrong eslint rule place

Dr_rOot9beb48be921f
diff --git a/src/renderer/components/Native/EngineClient.vue b/src/renderer/components/Native/EngineClient.vue
index d5e8caa5..ca301ed2 100644
--- a/src/renderer/components/Native/EngineClient.vue
+++ b/src/renderer/components/Native/EngineClient.vue
@@ -150,11 +150,11 @@
return
}
- /* eslint-disable no-new */
const notifyMessage = isBT
? this.$t('task.bt-download-complete-notify')
: this.$t('task.download-complete-notify')
+ /* eslint-disable no-new */
const notify = new Notification(notifyMessage, {
body: `${taskName}${tips}`
})