Page management: no Delete button on the core pages the server won't delete

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aidan Dona 2026-10-17 00:37:35 -05:00
parent f1a0b06ac2
commit ab8dcdd608
2 changed files with 3 additions and 1 deletions

View file

@ -638,7 +638,7 @@ export default function EntityEdit() {
Discard draft
</button>
)}
{!isNew && !singleton && canDelete && (
{!isNew && !singleton && canDelete && !manifest.undeletable?.includes(id) && (
<button
type="button"
onClick={remove}