feat(www): add sort clients by name (#1227)

Co-authored-by: Philip H. <47042125+pheiduck@users.noreply.github.com>
This commit is contained in:
Võ Hoàng 2024-08-17 00:40:24 +07:00 committed by GitHub
parent 7c521e8733
commit ca7ee32052
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 60 additions and 2 deletions

View file

@ -123,6 +123,7 @@ These options can be configured by setting environment variables using `-e KEY="
| `UI_CHART_TYPE` | `0` | `1` | UI_CHART_TYPE=0 # Charts disabled, UI_CHART_TYPE=1 # Line chart, UI_CHART_TYPE=2 # Area chart, UI_CHART_TYPE=3 # Bar chart |
| `UI_SHOW_LINKS` | `false` | `true` | Enable display of a short download link in Web UI |
| `MAX_AGE` | `0` | `1440` | The maximum age of Web UI sessions in minutes. `0` means that the session will exist until the browser is closed. |
| `UI_ENABLE_SORT_CLIENTS` | `false` | `true` | Enable UI sort clients by name |
> If you change `WG_PORT`, make sure to also change the exposed port.