feat: consolidar desenvolvimentos do portal InvestMoz
This commit is contained in:
@@ -10,6 +10,9 @@ import { createOperationKey } from '@/lib/operation-key';
|
||||
import { valueText } from '@/lib/value-text';
|
||||
import { modalityLabels } from '@/components/opportunity-search-filters';
|
||||
import OpportunityProfileActions from '@/components/opportunity-profile-actions';
|
||||
import OpportunityTechnicalIncidents, {
|
||||
type OpportunityTechnicalIncident,
|
||||
} from '@/components/opportunity-technical-incidents';
|
||||
import OpportunityContactForm from '@/components/opportunity-contact-form';
|
||||
import OpportunityCanonicalFields, {
|
||||
type CanonicalOptions,
|
||||
@@ -89,6 +92,7 @@ export default function OpportunityDraft({
|
||||
workflowState,
|
||||
canonicalResponse,
|
||||
workflowTasks = [],
|
||||
workflowIncidents = [],
|
||||
workflowParticipants,
|
||||
publicationPreview,
|
||||
publicationState,
|
||||
@@ -101,6 +105,7 @@ export default function OpportunityDraft({
|
||||
profileMode?: boolean;
|
||||
profileOrganization?: string | null;
|
||||
profileActions?: string[];
|
||||
workflowIncidents?: OpportunityTechnicalIncident[];
|
||||
profileReauthenticationRequired?: boolean;
|
||||
profileContext?: Record<string, unknown> | null;
|
||||
profileAccess?: {
|
||||
@@ -1259,6 +1264,9 @@ export default function OpportunityDraft({
|
||||
</p>
|
||||
</section>
|
||||
)}
|
||||
{profileMode && record && (
|
||||
<OpportunityTechnicalIncidents incidents={workflowIncidents} />
|
||||
)}
|
||||
{profileMode && record && etag && (
|
||||
<OpportunityProfileActions
|
||||
reauthenticationRequired={profileReauthenticationRequired}
|
||||
|
||||
Reference in New Issue
Block a user