Fix weird bug when are undefined

This commit is contained in:
Ilya Ig. Petrov 2017-11-11 12:24:55 +05:00
parent 88a3810199
commit 11b2a61ba5

View File

@ -473,7 +473,7 @@ ${ pacMods.filteredCustomsString
).then((details) => {
if (
details.levelOfControl === 'controlled_by_this_extension'
details && details.levelOfControl === 'controlled_by_this_extension'
) {
const pac = window.utils.getProp(details, 'value.pacScript');
if (pac && pac.data) {