diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 3a9279c4..632a1920 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -660,7 +660,7 @@ }, delClient(dbInboundId,client) { dbInbound = this.dbInbounds.find(row => row.id === dbInboundId); - clientId = clientId = getClientId(dbInbound.protocol,client);; + clientId = this.getClientId(dbInbound.protocol,client); this.$confirm({ title: '{{ i18n "pages.inbounds.deleteInbound"}}', content: '{{ i18n "pages.inbounds.deleteInboundContent"}}', @@ -704,7 +704,7 @@ clients = this.getClients(dbInbound.protocol, inbound.settings); index = this.findIndexOfClient(clients, client); clients[index].enable = !clients[index].enable; - clientId = getClientId(dbInbound.protocol,clients[index]); + clientId = this.getClientId(dbInbound.protocol,clients[index]); await this.updateClient(clients[index],dbInboundId, clientId); this.loading(false); },