There was an error while loading. Please reload this page.
2 parents 7781fbe + c4f7501 commit c09dce8Copy full SHA for c09dce8
utils.js
@@ -61,7 +61,10 @@ const getSelectedDbs = () => {
61
const valids = ['City', 'Country', 'ASN'];
62
63
const config = getConfig();
64
- const selected = config?.['selected-dbs'] ?? valids;
+ const selected =
65
+ config != null && config['selected-dbs'] != null
66
+ ? config['selected-dbs']
67
+ : valids;
68
69
if (!Array.isArray(selected)) {
70
console.error('selected-dbs property must have be an array.');
0 commit comments