mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
feat: sort groups
This commit is contained in:
@@ -21,11 +21,13 @@ const ProxyPage = () => {
|
||||
Proxy Groups
|
||||
</Typography>
|
||||
|
||||
<List sx={{ borderRadius: 1, boxShadow: 2 }}>
|
||||
{groups.map((group) => (
|
||||
<ProxyGroup key={group.name} group={group} />
|
||||
))}
|
||||
</List>
|
||||
{groups.length > 0 && (
|
||||
<List sx={{ borderRadius: 1, boxShadow: 2 }}>
|
||||
{groups.map((group) => (
|
||||
<ProxyGroup key={group.name} group={group} />
|
||||
))}
|
||||
</List>
|
||||
)}
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user