« get me outta code hell

data: add [Thing.friendlyName] property to some Thing subclasses - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/group.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-10-18 14:25:27 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-10-18 14:25:27 -0300
commit4e2dae523e7bf8b49272bd6afcba86a8157af4a1 (patch)
tree35043e2235fb37b26d51d6d8cdfbedb7ac3e5981 /src/data/things/group.js
parent428e14394209f55215168b9acbe680a982f9beb6 (diff)
data: add [Thing.friendlyName] property to some Thing subclasses
Diffstat (limited to 'src/data/things/group.js')
-rw-r--r--src/data/things/group.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/data/things/group.js b/src/data/things/group.js
index d5ae03e..8764a9d 100644
--- a/src/data/things/group.js
+++ b/src/data/things/group.js
@@ -83,6 +83,8 @@ export class Group extends Thing {
 }
 
 export class GroupCategory extends Thing {
+  static [Thing.friendlyName] = `Group Category`;
+
   static [Thing.getPropertyDescriptors] = ({Group}) => ({
     // Update & expose