mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-11 01:44:58 -06:00
WebUI: migrate away from outdated config in ESLint
The following message appears when using the outdated value: >[@stylistic/eslint-plugin]: You are using deprecated value(boolean) for "allowTemplateLiterals" >in "quotes", please use "always"/"never" instead. Also prefer using double quotes over backticks for strings. PR #23038.
This commit is contained in:
@@ -98,8 +98,8 @@
|
||||
|
||||
document.getElementById("limitUpdateLabel").textContent =
|
||||
isUpload
|
||||
? `QBT_TR(Upload limit:)QBT_TR[CONTEXT=SpeedLimit]`
|
||||
: `QBT_TR(Download limit:)QBT_TR[CONTEXT=SpeedLimit]`;
|
||||
? "QBT_TR(Upload limit:)QBT_TR[CONTEXT=SpeedLimit]"
|
||||
: "QBT_TR(Download limit:)QBT_TR[CONTEXT=SpeedLimit]";
|
||||
|
||||
fetch(`api/v2/transfer/${getLimitMethod}`, {
|
||||
method: "GET",
|
||||
|
||||
Reference in New Issue
Block a user