Fix no domains if only glob config set

pull/111/head
MattIPv4 2020-05-21 15:43:30 +01:00
parent 7276767102
commit 3bb350633b
1 changed files with 3 additions and 0 deletions

View File

@ -80,6 +80,9 @@ export default (query, domains, global, nextTick) => {
nextTick(() => applyCategories(domainData, domainImported));
}
}
} else {
// If no configured domains, add a single default
domains.push(clone(Domain.delegated));
}
// Handle global settings