From 2a8f0775516ba7d1573d8492c8dfeaa58fcb1fe6 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Mon, 27 Feb 2023 14:27:53 +0100 Subject: [PATCH] remove repository from workspace action --- .../shared/components/workspace/workspace-action/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/workspace/workspace-action/index.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/workspace/workspace-action/index.ts index f322a8eeb6..3e34bacce2 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/workspace/workspace-action/index.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/workspace/workspace-action/index.ts @@ -1,11 +1,11 @@ -import { UmbActionBase } from '../../../action'; import { UmbControllerHostInterface } from '@umbraco-cms/controller'; import { UmbContextConsumerController } from '@umbraco-cms/context-api'; -export class UmbWorkspaceAction extends UmbActionBase { +export class UmbWorkspaceAction { + host: UmbControllerHostInterface; workspaceContext?: WorkspaceType; - constructor(host: UmbControllerHostInterface, repositoryAlias: string) { - super(host, repositoryAlias); + constructor(host: UmbControllerHostInterface) { + this.host = host; new UmbContextConsumerController(this.host, 'umbWorkspaceContext', (instance: WorkspaceType) => { this.workspaceContext = instance;