Add one-click 'Fix alles' button to catalog page header (runs full furni maintenance)
CI / check (push) Successful in 45s
CI / release (push) Skipped
CI / deploy (push) Successful in 1m25s

This commit is contained in:
openhands committed 2026-08-23 15:21:26 +02:00
1 parent cd418e0390
commit 5a73ba292e
2 files changed
+58

No files matched your search

+3
View File
@@ -15,6 +15,7 @@ import { Store } from "lucide-react";
import { redirect } from "next/navigation";
import { getTranslations } from "next-intl/server";
import { AdminPageShell } from "@/components/admin/admin-page-shell";
import { CatalogFixAllButton } from "@/components/admin/catalog/catalog-fix-all-button";
import { CatalogTree } from "@/components/admin/catalog-tree";
import { calcPagination, parseListParams } from "@/lib/admin-helpers";
import {
@@ -289,6 +290,7 @@ export default async function CatalogPagesPage({
initialParentId={sp.get("newPageParent")}
/>
)}
<CatalogFixAllButton />
</div>
</div>
{viewMode === "tree" ? (
@@ -509,6 +511,7 @@ export default async function CatalogPagesPage({
{canEdit && (
<CatalogActions initialParentId={sp.get("newPageParent")} />
)}
<CatalogFixAllButton />
</div>
</div>