Skip to content

Commit

Permalink
transfer dbId to int to avoid failed prop
Browse files Browse the repository at this point in the history
  • Loading branch information
vera-liu committed Oct 12, 2016
1 parent ad662cc commit b0bac1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class TabbedSqlEditors extends React.Component {
const queryEditorProps = {
id: shortid.generate(),
title: getParamFromQuery(this.state.query, 'title'),
dbId: getParamFromQuery(this.state.query, 'dbid'),
dbId: parseInt(getParamFromQuery(this.state.query, 'dbid'), 10),
schema: getParamFromQuery(this.state.query, 'schema'),
autorun: getParamFromQuery(this.state.query, 'autorun'),
sql: getParamFromQuery(this.state.query, 'sql'),
Expand Down

0 comments on commit b0bac1e

Please sign in to comment.