admin/monitor: better english
Massimo Melina committed
Aug 29, 2022 at 12:48 UTC
a9270d174842772486b446864d3219f29a0aac9d
1 file changed
+4
-2
admin/src/MonitorPage.ts
+4
-2
@@ -171,7 +171,7 @@ function Connections() {
171
fullWidth: false,
172
value: filtered,
173
onChange: setFiltered as any,
174
- options: { "Downloads connections": true, "All connections": false }
174
+ options: { "Show only downloads": true, "Show all connections": false }
175
}),
176
177
h(Box, { flex: 1 }),
@@ -185,7 +185,9 @@ function Connections() {
185
}),
186
),
187
error ? h(Alert, { severity: 'error' }, error)
188
- : h(DataGrid, { rows, columns })
188
+ : h(DataGrid, { rows, columns,
189
+ localeText: filtered ? { noRowsLabel: "No downloads at the moment" } : undefined,
190
+ })
191
)
192
}
193