todos
This commit is contained in:
@@ -31,6 +31,7 @@ export class UmbInputBlockTypeElement<BlockType extends UmbBlockTypeBase = UmbBl
|
||||
this.#blockTypeWorkspaceModalRegistration?.destroy();
|
||||
|
||||
if (entityType) {
|
||||
// TODO: Make specific modal token that requires data.
|
||||
this.#blockTypeWorkspaceModalRegistration = new UmbModalRouteRegistrationController(this, UMB_WORKSPACE_MODAL)
|
||||
.addAdditionalPath(entityType)
|
||||
.onSetup(() => {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { CreateDataTypeRequestModel } from '@umbraco-cms/backoffice/backend-api';
|
||||
import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
|
||||
|
||||
// TODO: Change model:
|
||||
export interface UmbWorkspaceData {
|
||||
entityType: string;
|
||||
preset: Partial<CreateDataTypeRequestModel>;
|
||||
|
||||
Reference in New Issue
Block a user