Compare commits

...

2 Commits
1.2.0 ... 1.2.1

Author SHA1 Message Date
Alireza Ahmadi
c3d1824ea2 v1.2.1 2023-05-03 11:31:02 +02:00
Alireza Ahmadi
57a32ab524 [bug] fix delete/disable client 2023-05-03 11:30:31 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
1.2.0
1.2.1

View File

@@ -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);
},