Fixed options page (#138)
This commit is contained in:
parent
5a1ae1f6c6
commit
bd9745da74
|
@ -69,7 +69,7 @@ const Setting = {
|
|||
'HIDE_RELEASE_NOTES': 'hideReleaseNotes',
|
||||
'STRIP_METADATA': 'stripMetadata',
|
||||
'LAST_MAPPING_UPDATE': 'lastMappingUpdate',
|
||||
'ALLOWLISTED_DOMAINS': 'whitelistedDomains',
|
||||
'ALLOWLISTED_DOMAINS': 'allowlistedDomains',
|
||||
'XHR_TEST_DOMAIN': 'xhrTestDomain',
|
||||
'LOGGING': 'enableLogging',
|
||||
'DOMAINS_MANIPULATE_DOM': 'domainsManipulateDOM',
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue