Migrate Forms 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/forms.css";
|
||||
|
||||
|
||||
@@ -7,10 +8,11 @@ const FormsPage = lazy(() => import("./features/forms/FormsPage"));
|
||||
|
||||
export const formsModule: PlatformWebModule = {
|
||||
id: "forms",
|
||||
label: "Form definitions",
|
||||
label: "i18n:govoplan-forms.form_definitions",
|
||||
version: "0.1.14",
|
||||
dependencies: ["access"],
|
||||
optionalDependencies: ["forms_runtime", "portal", "workflow_engine", "cases", "policy"],
|
||||
translations: generatedTranslations,
|
||||
routes: [
|
||||
{
|
||||
path: "/forms",
|
||||
@@ -23,7 +25,7 @@ export const formsModule: PlatformWebModule = {
|
||||
navItems: [
|
||||
{
|
||||
to: "/forms",
|
||||
label: "Form definitions",
|
||||
label: "i18n:govoplan-forms.form_definitions",
|
||||
iconName: "list-tree",
|
||||
anyOf: ["forms:definition:read"],
|
||||
order: 36,
|
||||
|
||||
Reference in New Issue
Block a user