1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Fixed options page (#138)

This commit is contained in:
nobody
2020-10-17 07:39:28 +02:00
parent 5a1ae1f6c6
commit bd9745da74
2 changed files with 7 additions and 1 deletions

View File

@@ -41,6 +41,12 @@ main._initializeSettings = function () {
'value': false
});
}
// Copy old data
if (items.allowlistedDomains === null) {
items.allowlistedDomains = items.whitelistedDomains;
}
stateManager.selectedIcon = items.selectedIcon;
wrappers.setIcon({
'path': stateManager.selectedIcon