Change Settings.get to return undefined when a setting isn’t found

This commit is contained in:
Samuel Elliott 2018-02-12 19:48:36 +00:00
parent 61c913b55b
commit e793a8d380
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ export default class {
static get(set_id, category_id, setting_id) {
const setting = this.getSetting(set_id, category_id, setting_id);
return setting ? setting.value : null;
return setting ? setting.value : undefined;
}
static setSetting(set_id, category_id, setting_id, value) {