cabana: dbc github list only includes .dbc files
parent
b60e908b79
commit
24f3c5996e
|
@ -32,6 +32,7 @@ export default class GithubDbcList extends Component {
|
|||
|
||||
componentWillMount() {
|
||||
this.props.openDbcClient.list(this.props.repo).then((paths) => {
|
||||
paths = paths.filter((path) => path.indexOf(".dbc") !== -1);
|
||||
this.setState({paths})
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue