Add changes related to lint & importing movies

Fixes #4768
This commit is contained in:
nitsua 2020-08-02 18:49:06 -04:00 committed by Qstick
parent ef80314219
commit f39824cb9c
1 changed files with 3 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class ImportMovie extends Component {
path,
rootFoldersFetching,
rootFoldersError,
rootFoldersPopulated,
unmappedFolders
} = this.props;
@ -109,6 +110,7 @@ class ImportMovie extends Component {
{
!rootFoldersError &&
!rootFoldersFetching &&
rootFoldersPopulated &&
!unmappedFolders.length ?
<div>
All movies in {path} have been imported
@ -119,6 +121,7 @@ class ImportMovie extends Component {
{
!rootFoldersError &&
!rootFoldersFetching &&
rootFoldersPopulated &&
!!unmappedFolders.length &&
scroller ?
<ImportMovieTableConnector