New: Server Side UI Filtering, Error Boundaries (#501)

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick
2018-09-22 23:10:50 -04:00
committed by GitHub
parent a95191dc3b
commit 64a8d02f77
110 changed files with 1564 additions and 431 deletions
+8 -6
View File
@@ -62,13 +62,15 @@ class PathInput extends Component {
event.preventDefault();
const path = this.props.paths[0];
this.props.onChange({
name: this.props.name,
value: path.path
});
if (path) {
this.props.onChange({
name: this.props.name,
value: path.path
});
if (path.type !== 'file') {
this.props.onFetchPaths(path.path);
if (path.type !== 'file') {
this.props.onFetchPaths(path.path);
}
}
}
}