Skip to content

Commit

Permalink
Updated DeploySpamfilter.jsx. Made priority configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
cipptesting committed Jun 21, 2024
1 parent c6d1e0e commit 10d2e83
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/views/email-exchange/spamfilter/DeploySpamfilter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons'
import { CippWizard } from 'src/components/layout'
import { WizardTableField } from 'src/components/tables'
import PropTypes from 'prop-types'
import { RFFCFormSelect, RFFCFormTextarea } from 'src/components/forms'
import { RFFCFormSelect, RFFCFormTextarea, RFFCFormInput } from 'src/components/forms'
import { useLazyGenericGetRequestQuery, useLazyGenericPostRequestQuery } from 'src/store/api/app'
import { OnChange } from 'react-final-form-listeners'

Expand Down Expand Up @@ -151,6 +151,11 @@ const SpamFilterAdd = () => {
/>
</CCol>
</CRow>
<CRow>
<CCol>
<RFFCFormInput name="Priority" label="SpamFilter priority" placeholder={'0'} />
</CCol>
</CRow>
<hr className="my-4" />
<WhenFieldChanges field="TemplateList" set="PowerShellCommand" />
</CippWizard.Page>
Expand Down Expand Up @@ -179,6 +184,8 @@ const SpamFilterAdd = () => {
</CCallout>
<h5 className="mb-0">Rule Settings</h5>
<CCallout color="info">{props.values.PowerShellCommand}</CCallout>
<h5 className="mb-0">Priority</h5>
<CCallout color="info">{props.values.Priority}</CCallout>
</CCol>
</CRow>
</>
Expand Down

0 comments on commit 10d2e83

Please sign in to comment.