diff --git a/frontend/src/Series/Index/Overview/SeriesIndexOverview.js b/frontend/src/Series/Index/Overview/SeriesIndexOverview.js index fbf02feba..0e7af9d90 100644 --- a/frontend/src/Series/Index/Overview/SeriesIndexOverview.js +++ b/frontend/src/Series/Index/Overview/SeriesIndexOverview.js @@ -101,7 +101,8 @@ class SeriesIndexOverview extends Component { seasonCount, episodeCount, episodeFileCount, - totalEpisodeCount + totalEpisodeCount, + sizeOnDisk } = statistics; const { @@ -212,6 +213,7 @@ class SeriesIndexOverview extends Component { nextAiring={nextAiring} seasonCount={seasonCount} qualityProfile={qualityProfile} + sizeOnDisk={sizeOnDisk} showRelativeDates={showRelativeDates} shortDateFormat={shortDateFormat} longDateFormat={longDateFormat} diff --git a/frontend/src/Series/Index/Overview/SeriesIndexOverviewInfo.js b/frontend/src/Series/Index/Overview/SeriesIndexOverviewInfo.js index 844219f04..c13a94f52 100644 --- a/frontend/src/Series/Index/Overview/SeriesIndexOverviewInfo.js +++ b/frontend/src/Series/Index/Overview/SeriesIndexOverviewInfo.js @@ -15,7 +15,6 @@ const rows = [ name: 'monitored', showProp: 'showMonitored', valueProp: 'monitored' - }, { name: 'network', diff --git a/frontend/src/Series/Index/Overview/SeriesIndexOverviews.js b/frontend/src/Series/Index/Overview/SeriesIndexOverviews.js index 17059a614..eab7fc7fd 100644 --- a/frontend/src/Series/Index/Overview/SeriesIndexOverviews.js +++ b/frontend/src/Series/Index/Overview/SeriesIndexOverviews.js @@ -71,7 +71,8 @@ class SeriesIndexOverviews extends Component { items, sortKey, overviewOptions, - jumpToCharacter + jumpToCharacter, + isSmallScreen } = this.props; const { @@ -81,13 +82,17 @@ class SeriesIndexOverviews extends Component { if (prevProps.sortKey !== sortKey || prevProps.overviewOptions !== overviewOptions) { - this.calculateGrid(); + this.calculateGrid(this.state.width, isSmallScreen); } - if (this._grid && + if ( + this._grid && (prevState.width !== width || prevState.rowHeight !== rowHeight || - hasDifferentItemsOrOrder(prevProps.items, items))) { + hasDifferentItemsOrOrder(prevProps.items, items) || + prevProps.overviewOptions !== overviewOptions + ) + ) { // recomputeGridSize also forces Grid to discard its cache of rendered cells this._grid.recomputeGridSize(); }