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:
parent
f1a0b06ac2
commit
ab8dcdd608
2 changed files with 3 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue