Add organizations module surface
This commit is contained in:
18
webui/src/features/organizations/OrganizationsAdminPanel.tsx
Normal file
18
webui/src/features/organizations/OrganizationsAdminPanel.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import type { ApiSettings, AuthInfo } from "@govoplan/core-webui";
|
||||
import OrganizationsPage, { type OrganizationSection } from "./OrganizationsPage";
|
||||
|
||||
const MODEL_SECTIONS: OrganizationSection[] = ["model"];
|
||||
|
||||
export default function OrganizationsAdminPanel({ settings, auth }: { settings: ApiSettings; auth: AuthInfo }) {
|
||||
return (
|
||||
<OrganizationsPage
|
||||
settings={settings}
|
||||
auth={auth}
|
||||
mode="admin"
|
||||
initialSection="model"
|
||||
availableSections={MODEL_SECTIONS}
|
||||
title="i18n:govoplan-organizations.organization_model.4f924c0e"
|
||||
description="i18n:govoplan-organizations.organization_model_admin_description.35dc9f10"
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user