mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-21 06:28:42 +08:00
fix: page null exception, close #821
This commit is contained in:
1 parent
fbf230cd01
commit
1950cf5f99
2 files changed
+2
-2
No files matched your search
@@ -69,7 +69,7 @@ const ConnectionsPage = () => {
|
||||
|
||||
const connections: typeof oldConn = [];
|
||||
|
||||
const rest = data.connections?.filter((each) => {
|
||||
const rest = (data.connections || []).filter((each) => {
|
||||
const index = oldConn.findIndex((o) => o.id === each.id);
|
||||
|
||||
if (index >= 0 && index < maxLen) {
|
||||
|
||||
Reference in new issue
Block a user