Fix no domains if only glob config set
parent
7276767102
commit
3bb350633b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue