Skip to content

Commit

Permalink
Ensures default Link Action block label is Open Flow
Browse files Browse the repository at this point in the history
  • Loading branch information
lukestanley committed Jul 22, 2024
1 parent 67c1afd commit 0abaae4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/blocks/link-action-block/link-action.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class LinkActionComponent extends BaseBlockComponent {
}

onConfigUpdate(config: any) {
this.label = get(config, 'label', 'Link');
this.label = get(config, 'label', 'Open Flow');
this.adapterNameGetter = get(config, 'adapterNameGetter', '');
this.workflowIdGetter = get(config, 'workflowIdGetter', '');
this.config = config;
Expand Down
2 changes: 1 addition & 1 deletion src/app/dialogs/add-block-dialog/block-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ export const BLOCK_TYPES = [
hasEditor: true,
defaultConfig: {
type: 'link-action',
label: 'Open Workflow',
label: 'Open Flow',
adapterName: 'adapterName',
workflowId: 'workflowId',
}
Expand Down

0 comments on commit 0abaae4

Please sign in to comment.