Skip to content

Commit 493b128

Browse files
authored
Predefined Ipset lists not loading hestiacp#3552 (hestiacp#3557)
1 parent 5fa8203 commit 493b128

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

web/js/src/ipListDataSource.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export default function handleIpListDataSource() {
99
}
1010

1111
// Parse IP lists from HTML and sort them alphabetically
12-
const countryIpLists = parseAndSortIpLists(dataSourceSelect.dataset.countryIpLists);
13-
const blacklistIpLists = parseAndSortIpLists(dataSourceSelect.dataset.blacklistIpLists);
12+
const countryIpLists = parseAndSortIpLists(dataSourceSelect.dataset.countryIplists);
13+
const blacklistIpLists = parseAndSortIpLists(dataSourceSelect.dataset.blacklistIplists);
1414

1515
// Add IP lists to the "Data Source" select
1616
addIPListsToSelect(dataSourceSelect, Alpine.store('globals').BLACKLIST, blacklistIpLists);
@@ -34,6 +34,5 @@ function addOption(element, text, value, disabled) {
3434
if (disabled) {
3535
option.disabled = true;
3636
}
37-
3837
element.append(option);
3938
}

0 commit comments

Comments
 (0)