From d9422b4edcbd389768e2fcf51cf991df11d4e25a Mon Sep 17 00:00:00 2001 From: Qstick Date: Tue, 24 Apr 2018 22:36:18 -0400 Subject: [PATCH] Fixed: Artist AlbumType ExpandbyDefault if has release in 30 days also Fixes #313 --- .../Artist/Details/ArtistDetailsSeason.css | 3 +- .../src/Artist/Details/ArtistDetailsSeason.js | 41 +++++++++---------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/frontend/src/Artist/Details/ArtistDetailsSeason.css b/frontend/src/Artist/Details/ArtistDetailsSeason.css index c2711969f..d5ad29ef5 100644 --- a/frontend/src/Artist/Details/ArtistDetailsSeason.css +++ b/frontend/src/Artist/Details/ArtistDetailsSeason.css @@ -15,6 +15,7 @@ align-items: center; width: 100%; font-size: 24px; + cursor: pointer; } .albumTypeLabel { @@ -37,7 +38,7 @@ composes: link from 'Components/Link/Link.css'; flex-grow: 1; - margin: 0 20px; + width: 100%; text-align: center; } diff --git a/frontend/src/Artist/Details/ArtistDetailsSeason.js b/frontend/src/Artist/Details/ArtistDetailsSeason.js index 548011ded..3df7fca77 100644 --- a/frontend/src/Artist/Details/ArtistDetailsSeason.js +++ b/frontend/src/Artist/Details/ArtistDetailsSeason.js @@ -54,7 +54,7 @@ class ArtistDetailsSeason extends Component { isAfter(item.releaseDate, { days: -30 }); }); - onExpandPress(name, expand && name > 0); + onExpandPress(name, expand); } // @@ -130,26 +130,25 @@ class ArtistDetailsSeason extends Component {
-
-
- { -
- - {label} - + +
+
+ { +
+ + {label} + - - ({items.length} Releases) - -
- } + + ({items.length} Releases) + +
+ } -
- - +
  } - -
+
+
{