Skip to content

Commit

Permalink
Fixes for Ben
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Jan 2, 2025
1 parent c08859b commit aa9494b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/layouts/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,6 @@ export const nativeMenuItems = [
path: "/email/spamfilter",
items: [
{ title: "Spamfilter", path: "/email/spamfilter/list-spamfilter" },
{
title: "Apply Spamfilter Template",
path: "/email/spamfilter/deploy",
},
{ title: "Templates", path: "/email/spamfilter/list-templates" },
],
},
Expand Down
4 changes: 2 additions & 2 deletions src/pages/email/spamfilter/list-spamfilter/add.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const AddPolicy = () => {
<CippFormPage
formControl={formControl}
queryKey="AddTransportRule"
title="Add Transport Rule"
backButtonTitle="Transport Rules Overview"
title="Add Spamfilter Rule"
backButtonTitle="Spamfilter Overview"
postUrl="/api/AddSpamFilter"
>
<Grid container spacing={2}>
Expand Down
4 changes: 3 additions & 1 deletion src/pages/email/spamfilter/list-spamfilter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const Page = () => {
label: "Create template based on rule",
type: "POST",
url: "/api/AddSpamfilterTemplate",
data: {},
dataFunction: (data) => {
return { ...data };
},
confirmText: "Are you sure you want to create a template based on this rule?",
},
{
Expand Down

0 comments on commit aa9494b

Please sign in to comment.