Merge pull request #309 from ueokande/default-properties
Default properties
This commit is contained in:
commit
d4450b3e98
2 changed files with 5 additions and 3 deletions
|
@ -60,9 +60,9 @@ export default {
|
|||
"duckduckgo": "https://duckduckgo.com/?q={}",
|
||||
"twitter": "https://twitter.com/search?q={}",
|
||||
"wikipedia": "https://en.wikipedia.org/w/index.php?search={}"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
}
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
|
|
@ -18,7 +18,9 @@ const loadValue = () => {
|
|||
} else if (settings.source === 'form') {
|
||||
value = settingsValues.valueFromForm(settings.form);
|
||||
}
|
||||
return value;
|
||||
return Object.assign({},
|
||||
settingsValues.valueFromJson(DefaultSettings.json),
|
||||
value);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue