mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-22 22:16:13 -04:00
Fix file browser when files should be included
This commit is contained in:
@@ -38,7 +38,10 @@ class PathInputConnector extends Component {
|
||||
// Listeners
|
||||
|
||||
onFetchPaths = (path) => {
|
||||
this.props.fetchPaths({ path });
|
||||
this.props.fetchPaths({
|
||||
path,
|
||||
includeFiles: this.props.includeFiles
|
||||
});
|
||||
}
|
||||
|
||||
onClearPaths = () => {
|
||||
@@ -60,6 +63,7 @@ class PathInputConnector extends Component {
|
||||
}
|
||||
|
||||
PathInputConnector.propTypes = {
|
||||
includeFiles: PropTypes.bool.isRequired,
|
||||
fetchPaths: PropTypes.func.isRequired,
|
||||
clearPaths: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user