default kinds applied
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
|
||||
import type { UmbWorkspaceAction } from '@umbraco-cms/backoffice/workspace';
|
||||
import { UmbWorkspaceActionBase, type UmbWorkspaceAction } from '@umbraco-cms/backoffice/workspace';
|
||||
import { EXAMPLE_COUNTER_CONTEXT } from './counter-workspace-context';
|
||||
|
||||
// The Example Incrementor Workspace Action Controller:
|
||||
export class ExampleIncrementorWorkspaceAction extends UmbControllerBase implements UmbWorkspaceAction {
|
||||
export class ExampleIncrementorWorkspaceAction extends UmbWorkspaceActionBase implements UmbWorkspaceAction {
|
||||
// This method is executed
|
||||
async execute() {
|
||||
await this.consumeContext(EXAMPLE_COUNTER_CONTEXT, (context) => {
|
||||
|
||||
Reference in New Issue
Block a user