diff --git a/src/components/ReportingConfig/EmailDeliveryMethodForm.jsx b/src/components/ReportingConfig/EmailDeliveryMethodForm.jsx index 0a0e2f9199..8d77f88d5b 100644 --- a/src/components/ReportingConfig/EmailDeliveryMethodForm.jsx +++ b/src/components/ReportingConfig/EmailDeliveryMethodForm.jsx @@ -13,6 +13,7 @@ const EmailDeliveryMethodForm = ({ invalidFields, config, handleBlur }) => { Email(s) handleBlur(e, () => { @@ -47,6 +48,7 @@ const EmailDeliveryMethodForm = ({ invalidFields, config, handleBlur }) => { Password handleBlur(e)} data-hj-suppress diff --git a/src/components/ReportingConfig/ReportingConfigForm.jsx b/src/components/ReportingConfig/ReportingConfigForm.jsx index 413308f1dc..69596cb1d9 100644 --- a/src/components/ReportingConfig/ReportingConfigForm.jsx +++ b/src/components/ReportingConfig/ReportingConfigForm.jsx @@ -124,6 +124,8 @@ class ReportingConfigForm extends React.Component { handleSubmit = async (formData, config) => { await this.setState({ submitState: SUBMIT_STATES.PENDING }); let requiredFields = []; + formData.append('active', this.state.active); + formData.append('enableCompression', this.state.enableCompression); if (formData.get('deliveryMethod') === 'email') { requiredFields = config ? [...REQUIRED_EMAIL_FIELDS] : [...REQUIRED_NEW_EMAIL_FIELDS]; // transform email field to match what the api is looking for @@ -343,6 +345,7 @@ class ReportingConfigForm extends React.Component { helpText: 'The hour of the day to send the report, in Eastern Standard Time (EST). This is required for all frequency settings', invalidMessage: 'Required for all frequency types', isInvalid: invalidFields.hourOfDay, + min: 0, label: 'Hour of Day', })}