mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-19 21:46:50 -04:00
Convert Form Components to TypeScript
Co-authored-by: Mark McDowall <mark@mcdowall.ca> Remove defaultProps from TypeScript components (cherry picked from commit a90c13e86f798841cb6db038bb6b6d1408a00585) Fix multi-select checkboxes not appearing (cherry picked from commit e199710c15fbfa643a9f71c7a20f70b1722d0df6)
This commit is contained in:
@@ -3,7 +3,7 @@ import { useDispatch, useSelector } from 'react-redux';
|
||||
import { createSelector } from 'reselect';
|
||||
import AppState from 'App/State/AppState';
|
||||
import * as commandNames from 'Commands/commandNames';
|
||||
import PathInputConnector from 'Components/Form/PathInputConnector';
|
||||
import PathInput from 'Components/Form/PathInput';
|
||||
import Icon from 'Components/Icon';
|
||||
import Button from 'Components/Link/Button';
|
||||
import ModalBody from 'Components/Modal/ModalBody';
|
||||
@@ -113,9 +113,10 @@ function InteractiveImportSelectFolderModalContent(
|
||||
</ModalHeader>
|
||||
|
||||
<ModalBody>
|
||||
<PathInputConnector
|
||||
<PathInput
|
||||
name="folder"
|
||||
value={folder}
|
||||
includeFiles={false}
|
||||
onChange={onPathChange}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user