Skip to content

Commit

Permalink
Merge pull request RXNT#13 from amartin-carecloud/development
Browse files Browse the repository at this point in the history
Fixed config.josn file
  • Loading branch information
amartin-carecloud committed Jan 5, 2018
2 parents 4de32cd + a26e069 commit a89656b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions public/assets/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"API_GATEWAY": "http://localhost:3001",
"API_GATEWAY": "https://eagle-gateway.development.carecloud.com",
"AG_GRID_KEY":
"ag-Grid_Evaluation_License_Key_Not_for_Production_100Devs1_February_2018__MTUxNzQ0MzIwMDAwMA==21883182ef75f7daa52922779da96852",
"COGNITO_CLIENT_ID": "1tm6mjvguoj7a4t679c1o2enq3",
"COGNITO_WEB_DOMAIN": "eagle-login.auth.us-east-1.amazoncognito.com",
"COGNITO_URI_SIGN_IN": "http://localhost:3000/loggedin",
"COGNITO_URI_SIGN_IN": "https://eagle-ui.development.carecloud.com/loggedin",
"COGNITO_URI_SIGN_OUT": "https://eagle-ui.development.carecloud.com/",
"COGNITO_USER_POOL_ID": "us-east-1_23bS5XpaT"
}
14 changes: 12 additions & 2 deletions src/components/forms/organization/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ class OrganizationEntryForm extends Component {
}

onChangeForm = (form, formIndex) => {
this.props.updateProcessForm(this.props.processInstanceId, formIndex, form.formData, STATUS.MODIFIED);
this.props.updateProcessForm(
this.props.processInstanceId,
formIndex,
form.formData,
STATUS.MODIFIED
);
};

onSubmitForm = async (form, formIndex) => {
Expand All @@ -51,7 +56,12 @@ class OrganizationEntryForm extends Component {
);
}
} catch (error) {
this.props.updateProcessForm(this.props.processInstanceId, formIndex, form.formData, STATUS.ERRORS);
this.props.updateProcessForm(
this.props.processInstanceId,
formIndex,
form.formData,
STATUS.ERRORS
);
}
};

Expand Down

0 comments on commit a89656b

Please sign in to comment.