Migrate Voting interface patterns
This commit is contained in:
+4
-2
@@ -1,5 +1,6 @@
|
||||
import { createElement, lazy } from "react";
|
||||
import type { PlatformWebModule } from "@govoplan/core-webui";
|
||||
import { generatedTranslations } from "./i18n/generatedTranslations";
|
||||
import "./styles/voting.css";
|
||||
|
||||
|
||||
@@ -7,10 +8,11 @@ const VotingPage = lazy(() => import("./features/voting/VotingPage"));
|
||||
|
||||
export const votingModule: PlatformWebModule = {
|
||||
id: "voting",
|
||||
label: "Voting",
|
||||
label: "i18n:govoplan-voting.voting",
|
||||
version: "0.1.14",
|
||||
dependencies: ["access"],
|
||||
optionalDependencies: ["committee", "decisions", "encryption", "forms", "identity_trust", "policy", "reporting", "workflow_engine"],
|
||||
translations: generatedTranslations,
|
||||
routes: [
|
||||
{
|
||||
path: "/voting",
|
||||
@@ -23,7 +25,7 @@ export const votingModule: PlatformWebModule = {
|
||||
navItems: [
|
||||
{
|
||||
to: "/voting",
|
||||
label: "Voting",
|
||||
label: "i18n:govoplan-voting.voting",
|
||||
iconName: "vote",
|
||||
anyOf: ["voting:ballot:read"],
|
||||
order: 39,
|
||||
|
||||
Reference in New Issue
Block a user