diff options
Diffstat (limited to 'web/html/xui/form/protocol/trojan.html')
| -rw-r--r-- | web/html/xui/form/protocol/trojan.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html index f494adb9..46ae5e32 100644 --- a/web/html/xui/form/protocol/trojan.html +++ b/web/html/xui/form/protocol/trojan.html @@ -102,10 +102,12 @@ <a-collapse-panel :header="'{{ i18n "pages.client.clientCount"}} : ' + inbound.settings.trojans.length"> <table width="100%"> <tr class="client-table-header"> - <th v-for="col in Object.keys(inbound.settings.trojans[0]).slice(0, 3)">[[ col ]]</th> + <th>{{ i18n "pages.inbounds.email" }}</th> + <th>Password</th> </tr> <tr v-for="(client, index) in inbound.settings.trojans" :class="index % 2 == 1 ? 'client-table-odd-row' : ''"> - <td v-for="col in Object.values(client).slice(0, 3)">[[ col ]]</td> + <td>[[ client.email ]]</td> + <td>[[ client.password ]]</td> </tr> </table> </a-collapse-panel> |
