« get me outta code hell

content, data: Album.hideDuration - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-07-13 17:43:05 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-07-13 17:43:05 -0300
commita58f782de9ed40d4673725cb78c1f2bae7bc31fc (patch)
tree7756916a11b610d79debafde300cc47b21517b23 /src/data
parent0023f84094ebfebd6f7556b89061bc8a356a0fb0 (diff)
content, data: Album.hideDuration
Diffstat (limited to 'src/data')
-rw-r--r--src/data/things/album.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js
index bb11aad8..3350d6da 100644
--- a/src/data/things/album.js
+++ b/src/data/things/album.js
@@ -145,6 +145,8 @@ export class Album extends Thing {
     isListedOnHomepage: flag(true),
     isListedInGalleries: flag(true),
 
+    hideDuration: flag(false),
+
     // > Update & expose - General metadata
 
     color: color(),
@@ -607,6 +609,8 @@ export class Album extends Thing {
       'Listed on Homepage': {property: 'isListedOnHomepage'},
       'Listed in Galleries': {property: 'isListedInGalleries'},
 
+      'Hide Duration': {property: 'hideDuration'},
+
       // General metadata
 
       'Color': {property: 'color'},