mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 22:47:05 -04:00
* History Added * History Cleanup * History Mark Failed Fix * History Lint Fix * Search Tab Initial * Interactive Search Cleanup * Files Tab + Small Backend change to MovieFile api * Reverse Movie History Items * Grabbed files are not grabbable again. * Partial movie title outline + Search not updating fix * Lint Fix + InteractiveSearch refactor * Rename movieLanguage.js to MovieLanguage.js * Fixes for qstick's comments * Rename language selector to allow for const languages * Qstick comment changes. * Activity Tabs - Language Column fixed * Movie Details - MoveStatusLabel fixed * Spaces + Lower Case added * fixed DownloadAllowed * Added padding to history and file tables * Fix class => className * Updated search to not refresh unless switching movie * lint fix * File Tab Converted to Inline Editting * FIles tab fix + Alt Titles tab implemented * lint fix * Cleanup via qstick request
37 lines
773 B
JavaScript
37 lines
773 B
JavaScript
import PropTypes from 'prop-types';
|
|
import React, { Component } from 'react';
|
|
import Modal from 'Components/Modal/Modal';
|
|
import SelectLanguageModalContentConnector from './SelectLanguageModalContentConnector';
|
|
|
|
class SelectLanguageModal extends Component {
|
|
|
|
//
|
|
// Render
|
|
|
|
render() {
|
|
const {
|
|
isOpen,
|
|
onModalClose,
|
|
...otherProps
|
|
} = this.props;
|
|
|
|
return (
|
|
<Modal
|
|
isOpen={isOpen}
|
|
onModalClose={onModalClose}
|
|
>
|
|
<SelectLanguageModalContentConnector
|
|
{...otherProps}
|
|
onModalClose={onModalClose}
|
|
/>
|
|
</Modal>
|
|
);
|
|
}
|
|
}
|
|
|
|
SelectLanguageModal.propTypes = {
|
|
isOpen: PropTypes.bool.isRequired,
|
|
onModalClose: PropTypes.func.isRequired
|
|
};
|
|
|
|
export default SelectLanguageModal;
|