mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-18 14:01:56 +08:00
Chore: code is modifying constant object in store.ts (#81)
This commit is contained in:
parent
5808bce621
commit
34eaf5b6bb
@ -37,7 +37,7 @@ class Store {
|
|||||||
if (!this.saveDisconnection) {
|
if (!this.saveDisconnection) {
|
||||||
this.connections.delete(id)
|
this.connections.delete(id)
|
||||||
} else {
|
} else {
|
||||||
const connection = this.connections.get(id)
|
let connection = this.connections.get(id)
|
||||||
if (connection != null) {
|
if (connection != null) {
|
||||||
connection.completed = true
|
connection.completed = true
|
||||||
connection.uploadSpeed = 0
|
connection.uploadSpeed = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user