File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
src/Umbraco.Web.UI.Client/src/packages/templating/templates Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11export * from './conditions/constants.js' ;
2+ export * from './menu/constants.js' ;
23export * from './repository/constants.js' ;
34export * from './search/constants.js' ;
45export * from './workspace/constants.js' ;
Original file line number Diff line number Diff line change 1+ export const UMB_TEMPLATE_MENU_ITEM_ALIAS = 'Umb.MenuItem.Templates' ;
Original file line number Diff line number Diff line change 11import { UMB_TEMPLATE_TREE_ALIAS } from '../tree/index.js' ;
2+ import { UMB_TEMPLATE_MENU_ITEM_ALIAS } from './constants.js' ;
23import { UMB_WORKSPACE_CONDITION_ALIAS } from '@umbraco-cms/backoffice/workspace' ;
34
45export const manifests : Array < UmbExtensionManifest > = [
56 {
67 type : 'menuItem' ,
78 kind : 'tree' ,
8- alias : 'Umb.MenuItem.Templates' ,
9+ alias : UMB_TEMPLATE_MENU_ITEM_ALIAS ,
910 name : 'Templates Menu Item' ,
1011 weight : 40 ,
1112 meta : {
@@ -20,6 +21,9 @@ export const manifests: Array<UmbExtensionManifest> = [
2021 name : 'Template Menu Structure Workspace Context' ,
2122 alias : 'Umb.Context.Template.Menu.Structure' ,
2223 api : ( ) => import ( './template-menu-structure.context.js' ) ,
24+ meta : {
25+ menuItemAlias : UMB_TEMPLATE_MENU_ITEM_ALIAS ,
26+ } ,
2327 conditions : [
2428 {
2529 alias : UMB_WORKSPACE_CONDITION_ALIAS ,
You can’t perform that action at this time.
0 commit comments