File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
15/umbraco-cms/customizing/extending-overview/extension-types/workspaces Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,16 @@ Workspace action relates to a workspace alias (Umb.Workspace.Document) and has A
12
12
13
13
** JavaScript Manifest example**
14
14
15
- <pre class =" language-javascript " ><code class =" lang-javascript " ><strong >import { extensionRegistry } from '@umbraco-cms/extension-registry';
15
+ <pre class =" language-typescript " ><code class =" lang-typescript " ><strong >import { extensionRegistry } from '@umbraco-cms/extension-registry';
16
16
</strong >import { MyWorkspaceAction } from './my-workspace-action';
17
17
18
18
const manifest = {
19
19
type: 'workspaceAction',
20
20
alias: 'My.WorkspaceAction',
21
21
name: 'My Workspace Action',
22
+ api: MyWorkspaceAction,
22
23
meta: {
23
24
label: 'My Action',
24
- api: MyWorkspaceAction,
25
25
},
26
26
conditions: [
27
27
{
You can’t perform that action at this time.
0 commit comments