From 0b1d472d62734cba0bb75efa6acc787957b571c6 Mon Sep 17 00:00:00 2001 From: Zephyruso <176294927+YetAnotherZephyruso@users.noreply.github.com> Date: Tue, 24 Sep 2024 23:35:08 +0800 Subject: [PATCH] feat: proxy group icon (#1023) --- auto-imports.d.ts | 1 - src/pages/Proxies.tsx | 7 +++++-- src/types/index.d.ts | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/auto-imports.d.ts b/auto-imports.d.ts index 3c83a6d..12bdb7e 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -3,7 +3,6 @@ // @ts-nocheck // noinspection JSUnusedGlobalSymbols // Generated by unplugin-auto-import -// biome-ignore lint: disable export { } declare global { const $DEVCOMP: (typeof import('solid-js'))['$DEVCOMP'] diff --git a/src/pages/Proxies.tsx b/src/pages/Proxies.tsx index 95191b6..5179c32 100644 --- a/src/pages/Proxies.tsx +++ b/src/pages/Proxies.tsx @@ -189,9 +189,12 @@ export default () => { const title = ( <>
-
+
+ + + {proxyGroup.name} -
+
{proxyGroup.all?.length}
diff --git a/src/types/index.d.ts b/src/types/index.d.ts index 965f4d9..ca58914 100644 --- a/src/types/index.d.ts +++ b/src/types/index.d.ts @@ -12,6 +12,7 @@ export type Proxy = { name: string type: string all?: string[] + icon?: string extra: Record history: { time: string