commit14
This commit is contained in:
@@ -14,6 +14,8 @@ import {
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { WorkContextSettings } from '@/components/work-context-settings';
|
||||
import type { WorkContextState } from '@/types/work-context';
|
||||
import { OrganizationActivationPreview } from '@/components/organization-activation-preview';
|
||||
import type { ActivationPreview } from '@/components/organization-activation-preview';
|
||||
|
||||
type Profile = {
|
||||
id: number;
|
||||
@@ -168,6 +170,7 @@ export default function Parameters({
|
||||
version,
|
||||
permissions,
|
||||
workflowTasks = {},
|
||||
activationPreview,
|
||||
profiles,
|
||||
memberships,
|
||||
users,
|
||||
@@ -197,6 +200,7 @@ export default function Parameters({
|
||||
version: number;
|
||||
permissions: { [key: string]: string };
|
||||
workflowTasks?: Record<string, { key: string; label: string }[]>;
|
||||
activationPreview?: ActivationPreview;
|
||||
profiles: Profile[];
|
||||
memberships: Member[];
|
||||
users: Person[];
|
||||
@@ -273,6 +277,13 @@ export default function Parameters({
|
||||
{notice}
|
||||
</p>
|
||||
)}
|
||||
{activationPreview && (
|
||||
<OrganizationActivationPreview
|
||||
preview={activationPreview}
|
||||
permissions={permissions}
|
||||
tasks={workflowTasks}
|
||||
/>
|
||||
)}
|
||||
{!ready ? (
|
||||
<Panel title="Instalação pendente">
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user