mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
fix: page null exception, close #821
This commit is contained in:
@@ -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