« 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/album.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/album.js
parent428e14394209f55215168b9acbe680a982f9beb6 (diff)
data: add [Thing.friendlyName] property to some Thing subclasses
Diffstat (limited to 'src/data/things/album.js')
-rw-r--r--src/data/things/album.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js
index f451a7e..546fda3 100644
--- a/src/data/things/album.js
+++ b/src/data/things/album.js
@@ -181,6 +181,8 @@ export class Album extends Thing {
 }
 
 export class TrackSectionHelper extends Thing {
+  static [Thing.friendlyName] = `Track Section`;
+
   static [Thing.getPropertyDescriptors] = () => ({
     name: name('Unnamed Track Section'),
     color: color(),