diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 3ccfa5b2..d1d2619e 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -1032,6 +1032,7 @@ }, switchEnable(dbInboundId) { dbInbound = this.dbInbounds.find(row => row.id === dbInboundId); + dbInbound.enable = !dbInbound.enable; this.submit(`/xui/inbound/update/${dbInboundId}`, dbInbound); }, async switchEnableClient(dbInboundId, client) {