mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-25 19:14:12 +08:00
feat: proxy group icon (#1023)
This commit is contained in:
parent
3fb4f1613f
commit
0b1d472d62
1
auto-imports.d.ts
vendored
1
auto-imports.d.ts
vendored
@ -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']
|
||||
|
@ -189,9 +189,12 @@ export default () => {
|
||||
const title = (
|
||||
<>
|
||||
<div class="flex items-center justify-between pr-8">
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="flex items-center">
|
||||
<Show when={proxyGroup.icon}>
|
||||
<img src={proxyGroup.icon} class="h-8" />
|
||||
</Show>
|
||||
<span>{proxyGroup.name}</span>
|
||||
<div class="badge badge-sm">
|
||||
<div class="badge badge-sm ml-2">
|
||||
{proxyGroup.all?.length}
|
||||
</div>
|
||||
</div>
|
||||
|
1
src/types/index.d.ts
vendored
1
src/types/index.d.ts
vendored
@ -12,6 +12,7 @@ export type Proxy = {
|
||||
name: string
|
||||
type: string
|
||||
all?: string[]
|
||||
icon?: string
|
||||
extra: Record<string, unknown>
|
||||
history: {
|
||||
time: string
|
||||
|
Loading…
x
Reference in New Issue
Block a user