fix type hack

This commit is contained in:
Mads Rasmussen
2023-12-12 19:26:40 +01:00
parent fd12960952
commit 2f5283ca56

View File

@@ -8,7 +8,7 @@ import { UmbApi } from '@umbraco-cms/backoffice/extension-api';
// TODO: TREE STORE TYPE PROBLEM:
export class UmbPartialViewTreeRepository
extends UmbTreeRepositoryBase<UmbPartialViewTreeItemModel, { id: null } & UmbPartialViewTreeRootModel>
extends UmbTreeRepositoryBase<UmbPartialViewTreeItemModel, UmbPartialViewTreeRootModel>
implements UmbApi
{
constructor(host: UmbControllerHost) {
@@ -17,7 +17,6 @@ export class UmbPartialViewTreeRepository
async requestTreeRoot() {
const data = {
id: null,
path: null,
entityType: UMB_PARTIAL_VIEW_ROOT_ENTITY_TYPE,
name: 'Partial Views',