Skip to content

Commit

Permalink
Merge pull request #4 from getredash/master
Browse files Browse the repository at this point in the history
pull form original
  • Loading branch information
jithendrajp authored Nov 30, 2020
2 parents 59c76d4 + 4b88959 commit 240d035
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/app/components/QueryBasedParameterInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class QueryBasedParameterInput extends React.Component {
}

render() {
const { className, value, mode, onSelect, ...otherProps } = this.props;
const { className, mode, onSelect, queryId, value, ...otherProps } = this.props;
const { loading, options } = this.state;
return (
<span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function QuerySourceDropdown(props) {

QuerySourceDropdown.propTypes = {
dataSources: PropTypes.any,
value: PropTypes.string,
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
disabled: PropTypes.bool,
loading: PropTypes.bool,
onChange: PropTypes.func,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function QuerySourceDropdownItem({ dataSource, children }) {
QuerySourceDropdownItem.propTypes = {
dataSource: PropTypes.shape({
name: PropTypes.string,
id: PropTypes.string,
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
type: PropTypes.string,
}).isRequired,
children: PropTypes.element,
Expand Down

0 comments on commit 240d035

Please sign in to comment.