From 46d936a5485d69551a3c30c5d9a1400f7fa3cd42 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 4 Jul 2026 13:19:47 -0300 Subject: data: Album.hideTracKSectionDurations, TrackSection.hideDuration --- src/data/things/album/TrackSection.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/data/things/album/TrackSection.js') diff --git a/src/data/things/album/TrackSection.js b/src/data/things/album/TrackSection.js index 58515954..45c42250 100644 --- a/src/data/things/album/TrackSection.js +++ b/src/data/things/album/TrackSection.js @@ -146,6 +146,15 @@ export class TrackSection extends Thing { exposeDependency('#album.countTracksInArtistTotals'), ], + hideDuration: [ + exposeUpdateValueOrContinue({ + validate: input.value(isBoolean), + }), + + withPropertyFromObject('album', V('hideTrackSectionDurations')), + exposeDependency('#album.hideTrackSectionDurations'), + ], + excludingTrackURLs: [ exposeUpdateValueOrContinue({ validate: input.value( @@ -244,6 +253,7 @@ export class TrackSection extends Thing { }, 'Count Tracks In Artist Totals': {property: 'countTracksInArtistTotals'}, + 'Hide Duration': {property: 'hideDuration'}, 'Excluding Track URLs': { property: 'excludingTrackURLs', -- cgit 1.3.0-6-gf8a5