pass host directly to structure manager

This commit is contained in:
Mads Rasmussen
2024-01-16 15:38:33 +01:00
parent 0708bececa
commit 855a8392d9

View File

@@ -38,7 +38,7 @@ export class UmbMediaTypeWorkspaceContext
constructor(host: UmbControllerHost) {
super(host, 'Umb.Workspace.MediaType');
this.structure = new UmbContentTypePropertyStructureManager<UmbMediaTypeDetailModel>(this.host, this.repository);
this.structure = new UmbContentTypePropertyStructureManager<UmbMediaTypeDetailModel>(host, this.repository);
// General for content types:
this.data = this.structure.ownerContentType;