Allow setting a category’s name using name instead of category_name
This commit is contained in:
parent
72dd93503a
commit
e67c08ff02
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue