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