mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 10:48:26 +00:00
@@ -294,9 +294,8 @@ function stateLoadCallback(itemName) {
|
||||
data = JSON.parse(data);
|
||||
|
||||
// Clear possible filtering settings
|
||||
// TODO Maybe Object.values() is meant to be used here?
|
||||
for (const [index, _value] of data.columns.entries()) {
|
||||
data.columns[index].search.search = "";
|
||||
for (const column of Object.values(data.columns)) {
|
||||
column.search.search = "";
|
||||
}
|
||||
|
||||
// Always start on the first page to show most recent queries
|
||||
|
||||
Reference in New Issue
Block a user