feat: integrate private offers with existing editorial workflow
This commit is contained in:
@@ -40,6 +40,7 @@ export default function EditorialWorkflow({
|
||||
filters = {},
|
||||
resourceAccess,
|
||||
opportunitiesUrl,
|
||||
offersUrl = null,
|
||||
opportunityPending,
|
||||
clustersUrl,
|
||||
portfolioUrl,
|
||||
@@ -54,6 +55,7 @@ export default function EditorialWorkflow({
|
||||
}: {
|
||||
resourceAccess: boolean;
|
||||
opportunitiesUrl: string | null;
|
||||
offersUrl?: string | null;
|
||||
opportunityPending: number;
|
||||
clustersUrl?: string | null;
|
||||
portfolioUrl?: string | null;
|
||||
@@ -104,6 +106,10 @@ export default function EditorialWorkflow({
|
||||
href: opportunitiesUrl,
|
||||
pending: opportunityPending,
|
||||
},
|
||||
{
|
||||
label: 'Ofertas — revisão privada',
|
||||
href: offersUrl,
|
||||
},
|
||||
{
|
||||
label: 'Biblioteca e editores',
|
||||
href: resourceAccess ? '/management/portal-services' : null,
|
||||
|
||||
Reference in New Issue
Block a user