Preserve published territories during private editorial review

This commit is contained in:
2026-11-14 09:03:05 +02:00
parent 3c4c2599f7
commit b3d4b7abe6
12 changed files with 1163 additions and 11 deletions
@@ -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