mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
fix: a problem that duplicated server would not show the info in observatory window
This commit is contained in:
1 parent
12828e2d7d
commit
b3373d9701
1 file changed
+5
-1
+5
-1
@@ -767,7 +767,11 @@ export default {
|
||||
observatory(val) {
|
||||
for (const info of val.body) {
|
||||
this.connectedServerInfo.some(x => {
|
||||
if (JSON.stringify(info.which) === JSON.stringify(x.which)) {
|
||||
if (
|
||||
info.which._type === x.which._type &&
|
||||
info.which.id === x.which.id &&
|
||||
info.which.sub === x.which.sub
|
||||
) {
|
||||
for (const k in info) {
|
||||
if (k === "which" || !info.hasOwnProperty(k)) {
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user