mirror of https://github.com/Radarr/Radarr
Fixed: Poster/Overview checkbox in Movie Editor mode
This commit is contained in:
parent
000a4ec822
commit
318e05ddba
|
@ -71,7 +71,8 @@ class MovieIndexOverviews extends Component {
|
|||
items,
|
||||
sortKey,
|
||||
overviewOptions,
|
||||
jumpToCharacter
|
||||
jumpToCharacter,
|
||||
isMovieEditorActive
|
||||
} = this.props;
|
||||
|
||||
const {
|
||||
|
@ -87,7 +88,8 @@ class MovieIndexOverviews extends Component {
|
|||
if (this._grid &&
|
||||
(prevState.width !== width ||
|
||||
prevState.rowHeight !== rowHeight ||
|
||||
hasDifferentItemsOrOrder(prevProps.items, items))) {
|
||||
hasDifferentItemsOrOrder(prevProps.items, items) ||
|
||||
prevProps.isMovieEditorActive !== isMovieEditorActive)) {
|
||||
// recomputeGridSize also forces Grid to discard its cache of rendered cells
|
||||
this._grid.recomputeGridSize();
|
||||
}
|
||||
|
|
|
@ -111,7 +111,8 @@ class MovieIndexPosters extends Component {
|
|||
items,
|
||||
sortKey,
|
||||
posterOptions,
|
||||
jumpToCharacter
|
||||
jumpToCharacter,
|
||||
isMovieEditorActive
|
||||
} = this.props;
|
||||
|
||||
const {
|
||||
|
@ -131,7 +132,8 @@ class MovieIndexPosters extends Component {
|
|||
prevState.columnWidth !== columnWidth ||
|
||||
prevState.columnCount !== columnCount ||
|
||||
prevState.rowHeight !== rowHeight ||
|
||||
hasDifferentItemsOrOrder(prevProps.items, items))) {
|
||||
hasDifferentItemsOrOrder(prevProps.items, items) ||
|
||||
prevState.isMovieEditorActive !== isMovieEditorActive)) {
|
||||
// recomputeGridSize also forces Grid to discard its cache of rendered cells
|
||||
this._grid.recomputeGridSize();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue