diff options
Diffstat (limited to 'src/data/things/album/Album.js')
| -rw-r--r-- | src/data/things/album/Album.js | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/data/things/album/Album.js b/src/data/things/album/Album.js index 4f3dd770..e32e8044 100644 --- a/src/data/things/album/Album.js +++ b/src/data/things/album/Album.js @@ -283,7 +283,21 @@ export class Album extends Thing { ], showAlbumInTracksWithoutArtists: flag(V(false)), - showTrackSectionInNavBar: flag(V(false)), + + showTrackSectionInNavBar: [ + exposeUpdateValueOrContinue({ + validate: input.value(isBoolean), + }), + + { + dependencies: ['style'], + compute: ({style}) => + (style === 'in-game vgm' + ? true + : false), + }, + ], + showArtistsInTrackList: flag(V(true)), hideDuration: [ |