mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-12 17:39:07 +08:00
fix: Useless filter bug
This commit is contained in:
parent
310d797abf
commit
a28c001a5a
6
backend/dist/cron-sync-artifacts.min.js
vendored
6
backend/dist/cron-sync-artifacts.min.js
vendored
File diff suppressed because one or more lines are too long
6
backend/dist/sub-store-parser.loon.min.js
vendored
6
backend/dist/sub-store-parser.loon.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.6.3",
|
"version": "2.6.4",
|
||||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -10,7 +10,8 @@ function QuickSettingOperator(args) {
|
|||||||
func: (proxies) => {
|
func: (proxies) => {
|
||||||
if (get(args.useless)) {
|
if (get(args.useless)) {
|
||||||
const filter = UselessFilter();
|
const filter = UselessFilter();
|
||||||
proxies = filter.func(proxies);
|
const selected = filter.func(proxies);
|
||||||
|
proxies.filter((_, i) => selected[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return proxies.map((proxy) => {
|
return proxies.map((proxy) => {
|
||||||
|
6
backend/sub-store.min.js
vendored
6
backend/sub-store.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user