Allow setting a category’s name using name instead of category_name

This commit is contained in:
Samuel Elliott 2018-03-06 00:58:40 +00:00
parent 72dd93503a
commit e67c08ff02
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ export default class SettingsCategory {
* Category name
*/
get name() {
return this.args.category_name;
return this.args.name || this.args.category_name;
}
get category_name() {