Skip to content

Commit

Permalink
Merge pull request KelvinTegelaar#2579 from cipptesting/dev
Browse files Browse the repository at this point in the history
Updated DeploySpamfilter.jsx. Made priority configurable
  • Loading branch information
KelvinTegelaar authored Jun 22, 2024
2 parents f822ea2 + 10d2e83 commit da668ff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 da668ff

Please sign in to comment.