diff --git a/src/Umbraco.Web.UI.Client/src/stories/extending/workspaces/actions.mdx b/src/Umbraco.Web.UI.Client/src/stories/extending/workspaces/actions.mdx index 6042d74bab..994c52edd7 100644 --- a/src/Umbraco.Web.UI.Client/src/stories/extending/workspaces/actions.mdx +++ b/src/Umbraco.Web.UI.Client/src/stories/extending/workspaces/actions.mdx @@ -37,7 +37,7 @@ extensionRegistry.register(manifest); ### The Workspace Action Class -As part of the Extension Manifest you can attach a class that will be instanciated as part of the action. It will have access to the host element, the Workspace Context, and an array of uniques (key etc). When the action is clicked the `execute` method on the api class will be run. When the action is completed, an event on the host element will be dispatched to notify any surrounding elements. +As part of the Extension Manifest you can attach a class that will be instanciated as part of the action. It will have access to the host element and the Workspace Context. When the action is clicked the `execute` method on the api class will be run. When the action is completed, an event on the host element will be dispatched to notify any surrounding elements. ```ts import { UmbEntityBulkActionBase } from '@umbraco-cms/entity-action'; @@ -45,8 +45,8 @@ import { UmbControllerHostInterface } from '@umbraco-cms/controller'; import { MyRepository } from './my-repository'; export class MyWorkspaceAction extends UmbWorkspaceActionBase { - constructor(host: UmbControllerHostInterface, selection: Array) { - super(host, selection); + constructor(host: UmbControllerHostInterface) { + super(host); } async execute() {