Skip to content

Commit

Permalink
use Element as superclass and uppercase types (#11849)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkylstad authored Dec 12, 2023
1 parent 1307a9b commit 5bc0e1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class SupportedPaletteProvider {

const extensionElements = bpmnFactory.create('bpmn:ExtensionElements', {
values: [
bpmnFactory.create('altinn:taskExtension', {
bpmnFactory.create('altinn:TaskExtension', {
taskType: taskType,
}),
],
Expand All @@ -42,7 +42,7 @@ class SupportedPaletteProvider {

const extensionElements = bpmnFactory.create('bpmn:ExtensionElements', {
values: [
bpmnFactory.create('altinn:taskExtension', {
bpmnFactory.create('altinn:TaskExtension', {
taskType: taskType,
actions: bpmnFactory.create('altinn:Actions', {
action: ['sign', 'reject'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export const altinnCustomTasks = {
},
types: [
{
name: 'taskExtension',
superClass: ['bpmn:ExtensionElements'],
name: 'TaskExtension',
superClass: ['Element'],
properties: [
{
name: 'taskType',
Expand Down

0 comments on commit 5bc0e1c

Please sign in to comment.