Fixed: Don't Show two loading indicators on Movie Detail Tabs

pull/4958/head
Qstick 4 years ago
parent c3223ea8e7
commit 7ec043afde

@ -53,6 +53,7 @@
}
.titleRow {
position: relative;
display: flex;
justify-content: space-between;
flex: 0 0 auto;
@ -94,6 +95,8 @@
}
.movieNavigationButtons {
position: absolute;
right: 0;
white-space: nowrap;
}

@ -7,7 +7,6 @@ import HeartRating from 'Components/HeartRating';
import Icon from 'Components/Icon';
import InfoLabel from 'Components/InfoLabel';
import IconButton from 'Components/Link/IconButton';
import LoadingIndicator from 'Components/Loading/LoadingIndicator';
import Marquee from 'Components/Marquee';
import Measure from 'Components/Measure';
import MonitorToggleButton from 'Components/MonitorToggleButton';
@ -258,7 +257,6 @@ class MovieDetails extends Component {
isRefreshing,
isSearching,
isFetching,
isPopulated,
isSmallScreen,
movieFilesError,
movieCreditsError,
@ -581,11 +579,6 @@ class MovieDetails extends Component {
</div>
<div className={styles.contentContainer}>
{
!isPopulated && !movieFilesError && !movieCreditsError && !extraFilesError &&
<LoadingIndicator />
}
{
!isFetching && movieFilesError &&
<div>Loading movie files failed</div>

Loading…
Cancel
Save