use argument manifest for block type

This commit is contained in:
Niels Lyngsø
2024-03-20 14:49:46 +01:00
parent 684797fc3f
commit d337f6dfb0

View File

@@ -38,10 +38,9 @@ export class UmbBlockTypeWorkspaceContext<BlockTypeData extends UmbBlockTypeWith
constructor(host: UmbControllerHost, args: { manifest: ManifestWorkspace }) {
super(host, args.manifest.alias);
this.#entityType = args.manifest.meta?.entityType;
}
const manifest = args.manifest;
this.#entityType = manifest.meta?.entityType;
public set manifest(manifest: ManifestWorkspace) {
this.routes.setRoutes([
{
// Would it make more sense to have groupKey before elementTypeKey?