diff --git a/.gitignore b/.gitignore index 0445a1b8..e856ea58 100644 --- a/.gitignore +++ b/.gitignore @@ -62,4 +62,5 @@ typings/ # local build files build/ -package-lock.json \ No newline at end of file +package-lock.json +src/db.json diff --git a/src/components/RequestBox/RequestBox.js b/src/components/RequestBox/RequestBox.js index 1c4375b2..37e79dc2 100644 --- a/src/components/RequestBox/RequestBox.js +++ b/src/components/RequestBox/RequestBox.js @@ -340,7 +340,7 @@ export default class RequestBox extends Component { if (this.props.access_token) { params['tokenResponse'] = {access_token: this.props.access_token.access_token}; } - const disableSendToCRD = this.isOrderNotSelected(); + const disableSendToCRD = this.isOrderNotSelected() || this.props.loading ; const disableLaunchDTR = this.isOrderNotSelected() && Object.keys(this.state.response).length === 0; return (