From e67c08ff02b2ff9eacbdb4b34569d98813be5725 Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Tue, 6 Mar 2018 00:58:40 +0000 Subject: [PATCH] =?UTF-8?q?Allow=20setting=20a=20category=E2=80=99s=20name?= =?UTF-8?q?=20using=20name=20instead=20of=20category=5Fname?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/structs/settings/settingscategory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/structs/settings/settingscategory.js b/client/src/structs/settings/settingscategory.js index 6db59b37..c2c74eea 100644 --- a/client/src/structs/settings/settingscategory.js +++ b/client/src/structs/settings/settingscategory.js @@ -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() {