show reload on root

This commit is contained in:
Mads Rasmussen
2024-05-22 14:32:53 +02:00
parent f4615cb48f
commit aefac1bbdb

View File

@@ -1,4 +1,8 @@
import { UMB_DOCUMENT_BLUEPRINT_ENTITY_TYPE, UMB_DOCUMENT_BLUEPRINT_FOLDER_ENTITY_TYPE } from '../../entity.js';
import {
UMB_DOCUMENT_BLUEPRINT_ENTITY_TYPE,
UMB_DOCUMENT_BLUEPRINT_FOLDER_ENTITY_TYPE,
UMB_DOCUMENT_BLUEPRINT_ROOT_ENTITY_TYPE,
} from '../../entity.js';
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
export const manifests: Array<ManifestTypes> = [
@@ -7,7 +11,11 @@ export const manifests: Array<ManifestTypes> = [
kind: 'reloadTreeItemChildren',
alias: 'Umb.EntityAction.DocumentBlueprint.Tree.ReloadChildrenOf',
name: 'Reload Document Blueprint Tree Item Children Entity Action',
forEntityTypes: [UMB_DOCUMENT_BLUEPRINT_ENTITY_TYPE, UMB_DOCUMENT_BLUEPRINT_FOLDER_ENTITY_TYPE],
forEntityTypes: [
UMB_DOCUMENT_BLUEPRINT_ROOT_ENTITY_TYPE,
UMB_DOCUMENT_BLUEPRINT_ENTITY_TYPE,
UMB_DOCUMENT_BLUEPRINT_FOLDER_ENTITY_TYPE,
],
meta: {},
},
];