v1.14.0-profiles: profile accounts, drafts, page management, Planning Center #32

Merged
ngu-git-admin merged 15 commits from page-management into main 2026-10-28 07:00:10 +00:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit ab8dcdd608 - Show all commits

View file

@ -469,6 +469,8 @@ export const pages = {
singular: "page",
idLabel: "URL ID",
slugFrom: "title",
// The server refuses to delete these (CORE_PAGES); no Delete button.
undeletable: CORE_PAGE_IDS,
// Every page's address, title, intro and switches, then its own
// sections, the front page's included (its hero and bands).
list: {

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}