Files
Umbraco-CMS/src/Umbraco.Web.UI.Client/src/packages/templating/templates/manifests.ts
Lee Kelleher 0aeaf9ab65 Bugfix: Prevent delete a template when has children (#2479)
* Adds "Template Has No Children Condition"

to prevent the "delete" action being displayed
for templates that have child templates.

* Removed condition config type

it didn't have any configurable properties.

Lazy-loaded the manifest api.

* Renamed "Template Has No Children" condition

to "Template Allow Delete Action" condition.
2024-10-28 11:24:50 +01:00

20 lines
829 B
TypeScript

import { manifests as conditionsManifests } from './conditions/manifests.js';
import { manifests as entityActionsManifests } from './entity-actions/manifests.js';
import { manifests as menuManifests } from './menu/manifests.js';
import { manifests as modalManifests } from './modals/manifests.js';
import { manifests as repositoryManifests } from './repository/manifests.js';
import { manifests as searchManifests } from './search/manifests.js';
import { manifests as treeManifests } from './tree/manifests.js';
import { manifests as workspaceManifests } from './workspace/manifests.js';
export const manifests: Array<UmbExtensionManifest> = [
...conditionsManifests,
...entityActionsManifests,
...menuManifests,
...modalManifests,
...repositoryManifests,
...searchManifests,
...treeManifests,
...workspaceManifests,
];