mirror of
https://github.com/pi-hole/web.git
synced 2026-05-08 09:39:05 +01:00
Sort list entries (black-/whitelist) alphabetically before creating the table
This commit is contained in:
@@ -61,7 +61,7 @@ function refresh(fade) {
|
||||
{
|
||||
listw.html("");
|
||||
}
|
||||
var data = JSON.parse(response);
|
||||
var data = JSON.parse(response).sort();
|
||||
|
||||
if(data.length === 0) {
|
||||
$("h3").hide();
|
||||
|
||||
Reference in New Issue
Block a user