campaign sending prototype
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { Activity, FileText, Form, MailCheck, Users } from "lucide-react";
|
||||
import { createElement, lazy, useCallback } from "react";
|
||||
import { useParams } from "react-router-dom";
|
||||
import { Card, ResourceAccessBoundary, type ApiSettings, type AuthInfo, type PlatformWebModule } from "@govoplan/core-webui";
|
||||
@@ -20,17 +19,17 @@ export const campaignModule: PlatformWebModule = {
|
||||
dependencies: ["access"],
|
||||
optionalDependencies: ["files", "mail"],
|
||||
navItems: [
|
||||
{ to: "/campaigns", label: "Campaigns", icon: MailCheck, anyOf: campaignRead, order: 20 },
|
||||
{ to: "/campaigns", label: "Campaigns", iconName: "campaign", anyOf: campaignRead, order: 20 },
|
||||
{
|
||||
to: "/operator",
|
||||
label: "Operator Queue",
|
||||
icon: Activity,
|
||||
iconName: "activity",
|
||||
anyOf: operatorScopes,
|
||||
order: 30
|
||||
},
|
||||
{ to: "/reports", label: "Reports", icon: FileText, anyOf: ["campaigns:report:read"], order: 70 },
|
||||
{ to: "/address-book", label: "Address Book", icon: Users, order: 80 },
|
||||
{ to: "/templates", label: "Templates", icon: Form, order: 90 }
|
||||
{ to: "/reports", label: "Reports", iconName: "reports", anyOf: ["campaigns:report:read"], order: 70 },
|
||||
{ to: "/address-book", label: "Address Book", iconName: "users", order: 80 },
|
||||
{ to: "/templates", label: "Templates", iconName: "form", order: 90 }
|
||||
],
|
||||
routes: [
|
||||
{ path: "/campaigns", anyOf: campaignRead, order: 20, render: ({ settings }) => createElement(CampaignListPage, { settings }) },
|
||||
|
||||
Reference in New Issue
Block a user