cabana: dbc github list only includes .dbc files

main
Andy Haden 2017-06-30 22:17:05 -07:00
parent b60e908b79
commit 24f3c5996e
1 changed files with 1 additions and 0 deletions

View File

@ -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})
})
}