use correct type

This commit is contained in:
Mads Rasmussen
2023-01-05 13:35:34 +01:00
parent 7a41d2eab7
commit a78b43ce78

View File

@@ -7,7 +7,7 @@ const DefaultDataTypeData = {
key: '',
name: '',
icon: '',
type: 'dataType',
type: 'data-type',
hasChildren: false,
parentKey: '',
propertyEditorModelAlias: '',
@@ -15,7 +15,10 @@ const DefaultDataTypeData = {
data: [],
} as UmbDataTypeStoreItemType;
export class UmbWorkspaceDataTypeContext extends UmbWorkspaceContentContext<UmbDataTypeStoreItemType, UmbDataTypeStore> {
export class UmbWorkspaceDataTypeContext extends UmbWorkspaceContentContext<
UmbDataTypeStoreItemType,
UmbDataTypeStore
> {
constructor(host: UmbControllerHostInterface, entityKey: string) {
super(host, DefaultDataTypeData, 'umbDataTypeStore', entityKey, 'dataType');
}