admin/config: nicer layout
Massimo Melina committed
Apr 13, 2022 at 23:40 UTC
67859a123d5241c89976a97ff2861b3d31057002
1 file changed
+1
-1
admin/src/ConfigPage.ts
+1
-1
@@ -85,7 +85,7 @@ export default function ConfigPage() {
85
values.https_port >= 0 && { k: 'private_key', comp: FileField, label: "HTTPS private key file" },
86
{ k: 'max_kbps', ...maxSpeedDefaults, label: "Limit output KB/s", helperText: "Doesn't apply to localhost" },
87
{ k: 'max_kbps_per_ip', ...maxSpeedDefaults, label: "Limit output KB/s per-ip" },
88
- ...Object.entries(logLabels).map(a => ({ k: a[0], label: a[1] })),
88
+ ...Object.entries(logLabels).map(a => ({ k: a[0], label: a[1], lg: 3 })),
89
{ k: 'log_rotation', comp: SelectField, options: [{ value:'', label:"disabled" }, 'daily', 'weekly', 'monthly' ],
90
helperText: "To avoid an endlessly-growing single log file, you can opt for rotation"
91
},