admin/logs: clearer labels
Massimo Melina committed
Feb 21, 2025 at 10:20 UTC
21b16f7319937b9dfa105686edd872f48bc9c46f
1 file changed
+3
-3
admin/src/LogsPage.ts
+3
-3
@@ -23,8 +23,8 @@ import { BlockIpBtn } from './blockIp';
23
import { ALL as COUNTRIES } from './countries'
24
25
const logLabels = {
26
- log: "Access",
27
- error_log: "Access error",
26
+ log: "Served",
27
+ error_log: "Not served",
28
console: "Console",
29
ips: "IP's",
30
}
@@ -34,7 +34,7 @@ let reloadIps: any
34
export default function LogsPage() {
35
const [tab, setTab] = useState(0)
36
const files = typedKeys(logLabels)
37
- const shorterLabels = !useBreakpoint('sm') && { error_log: "Errors" }
37
+ const shorterLabels = !useBreakpoint('sm') && { error_log: "Not" }
38
const file = files[tab]
39
const fileAvailable = file.endsWith('log')
40
return h(Fragment, {},