« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/album/Album.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things/album/Album.js')
-rw-r--r--src/data/things/album/Album.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/data/things/album/Album.js b/src/data/things/album/Album.js
index 5da54419..54b7ef2d 100644
--- a/src/data/things/album/Album.js
+++ b/src/data/things/album/Album.js
@@ -328,6 +328,14 @@ export class Album extends Thing {
       },
     ],
 
+    hideTrackSectionDurations: [
+      exposeUpdateValueOrContinue({
+        validate: input.value(isBoolean),
+      }),
+
+      exposeDependency('hideDuration'),
+    ],
+
     // > Update & expose - General metadata
 
     color: color(),
@@ -860,6 +868,7 @@ export class Album extends Thing {
       'Show Section In Nav Bar': {property: 'showTrackSectionInNavBar'},
       'Show Artists In Track List': {property: 'showArtistsInTrackList'},
       'Hide Duration': {property: 'hideDuration'},
+      'Hide Track Section Durations': {property: 'hideTrackSectionDurations'},
 
       // General metadata