fix: use correct tree alias for template picker
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { UmbModalToken } from './modal-token.js';
|
||||
import type { UmbPickerModalValue, UmbTreePickerModalData } from '@umbraco-cms/backoffice/modal';
|
||||
import type { UmbTemplateTreeItemModel } from '@umbraco-cms/backoffice/template';
|
||||
import { UMB_TEMPLATE_TREE_ALIAS, type UmbTemplateTreeItemModel } from '@umbraco-cms/backoffice/template';
|
||||
|
||||
export type UmbTemplatePickerModalData = UmbTreePickerModalData<UmbTemplateTreeItemModel>;
|
||||
export type UmbTemplatePickerModalValue = UmbPickerModalValue;
|
||||
@@ -13,7 +13,7 @@ export const UMB_TEMPLATE_PICKER_MODAL = new UmbModalToken<UmbTemplatePickerModa
|
||||
size: 'small',
|
||||
},
|
||||
data: {
|
||||
treeAlias: 'Umb.Tree.Templates',
|
||||
treeAlias: UMB_TEMPLATE_TREE_ALIAS,
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user