[client] add disable-enable feature

This commit is contained in:
Alireza Ahmadi
2023-03-29 00:13:37 +02:00
parent 8f0a701d9e
commit 47f75f6382
4 changed files with 26 additions and 2 deletions

View File

@@ -15,6 +15,9 @@
</span>
<a-input v-model.trim="client.email"></a-input>
</a-form-item>
<a-form-item label="{{ i18n "pages.inbounds.enable" }}">
<a-switch v-model="client.enable"></a-switch>
</a-form-item>
<a-form-item label="password" v-if="inbound.protocol === Protocols.TROJAN">
<a-input v-model.trim="client.password"></a-input>
</a-form-item>