Preserve published territories during private editorial review
This commit is contained in:
@@ -42,6 +42,7 @@ export default function EditorialWorkflow({
|
||||
portfolioPending = 0,
|
||||
demographyUrl,
|
||||
demographyPending = 0,
|
||||
territorialUrl,
|
||||
}: {
|
||||
resourceAccess: boolean;
|
||||
opportunitiesUrl: string | null;
|
||||
@@ -51,6 +52,7 @@ export default function EditorialWorkflow({
|
||||
portfolioPending?: number;
|
||||
demographyUrl?: string | null;
|
||||
demographyPending?: number;
|
||||
territorialUrl?: string | null;
|
||||
filters?: { state?: string; kind?: string };
|
||||
items: { data: Item[]; current_page: number; last_page: number };
|
||||
notices: {
|
||||
@@ -76,6 +78,11 @@ export default function EditorialWorkflow({
|
||||
Demografia: {demographyPending} lotes pendentes
|
||||
</Link>
|
||||
)}
|
||||
{territorialUrl && (
|
||||
<Link className="underline" href={territorialUrl}>
|
||||
Conteúdos territoriais
|
||||
</Link>
|
||||
)}
|
||||
{portfolioUrl && (
|
||||
<Link className="underline" href={portfolioUrl}>
|
||||
Carteira: {portfolioPending} fichas pendentes
|
||||
|
||||
Reference in New Issue
Block a user