Skip to content

Commit d83353d

Browse files
committed
don't allow reload of document blueprint entity
1 parent 8df470c commit d83353d

File tree

1 file changed

+2
-10
lines changed
  • src/packages/documents/document-blueprints/tree/reload-tree-item-children

1 file changed

+2
-10
lines changed
Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
UMB_DOCUMENT_BLUEPRINT_ENTITY_TYPE,
3-
UMB_DOCUMENT_BLUEPRINT_FOLDER_ENTITY_TYPE,
4-
UMB_DOCUMENT_BLUEPRINT_ROOT_ENTITY_TYPE,
5-
} from '../../entity.js';
1+
import { UMB_DOCUMENT_BLUEPRINT_FOLDER_ENTITY_TYPE, UMB_DOCUMENT_BLUEPRINT_ROOT_ENTITY_TYPE } from '../../entity.js';
62
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
73

84
export const manifests: Array<ManifestTypes> = [
@@ -11,11 +7,7 @@ export const manifests: Array<ManifestTypes> = [
117
kind: 'reloadTreeItemChildren',
128
alias: 'Umb.EntityAction.DocumentBlueprint.Tree.ReloadChildrenOf',
139
name: 'Reload Document Blueprint Tree Item Children Entity Action',
14-
forEntityTypes: [
15-
UMB_DOCUMENT_BLUEPRINT_ROOT_ENTITY_TYPE,
16-
UMB_DOCUMENT_BLUEPRINT_ENTITY_TYPE,
17-
UMB_DOCUMENT_BLUEPRINT_FOLDER_ENTITY_TYPE,
18-
],
10+
forEntityTypes: [UMB_DOCUMENT_BLUEPRINT_ROOT_ENTITY_TYPE, UMB_DOCUMENT_BLUEPRINT_FOLDER_ENTITY_TYPE],
1911
meta: {},
2012
},
2113
];

0 commit comments

Comments
 (0)