|
|
@ -16,6 +16,7 @@ function MoveMovieModal(props) {
|
|
|
|
destinationPath,
|
|
|
|
destinationPath,
|
|
|
|
destinationRootFolder,
|
|
|
|
destinationRootFolder,
|
|
|
|
isOpen,
|
|
|
|
isOpen,
|
|
|
|
|
|
|
|
onModalClose,
|
|
|
|
onSavePress,
|
|
|
|
onSavePress,
|
|
|
|
onMoveMoviePress
|
|
|
|
onMoveMoviePress
|
|
|
|
} = props;
|
|
|
|
} = props;
|
|
|
@ -34,11 +35,11 @@ function MoveMovieModal(props) {
|
|
|
|
isOpen={isOpen}
|
|
|
|
isOpen={isOpen}
|
|
|
|
size={sizes.MEDIUM}
|
|
|
|
size={sizes.MEDIUM}
|
|
|
|
closeOnBackgroundClick={false}
|
|
|
|
closeOnBackgroundClick={false}
|
|
|
|
onModalClose={onSavePress}
|
|
|
|
onModalClose={onModalClose}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<ModalContent
|
|
|
|
<ModalContent
|
|
|
|
showCloseButton={true}
|
|
|
|
showCloseButton={true}
|
|
|
|
onModalClose={onSavePress}
|
|
|
|
onModalClose={onModalClose}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<ModalHeader>
|
|
|
|
<ModalHeader>
|
|
|
|
{translate('MoveFiles')}
|
|
|
|
{translate('MoveFiles')}
|
|
|
@ -84,6 +85,7 @@ MoveMovieModal.propTypes = {
|
|
|
|
destinationPath: PropTypes.string,
|
|
|
|
destinationPath: PropTypes.string,
|
|
|
|
destinationRootFolder: PropTypes.string,
|
|
|
|
destinationRootFolder: PropTypes.string,
|
|
|
|
isOpen: PropTypes.bool.isRequired,
|
|
|
|
isOpen: PropTypes.bool.isRequired,
|
|
|
|
|
|
|
|
onModalClose: PropTypes.func.isRequired,
|
|
|
|
onSavePress: PropTypes.func.isRequired,
|
|
|
|
onSavePress: PropTypes.func.isRequired,
|
|
|
|
onMoveMoviePress: PropTypes.func.isRequired
|
|
|
|
onMoveMoviePress: PropTypes.func.isRequired
|
|
|
|
};
|
|
|
|
};
|
|
|
|