Skip to content

Commit 91f01ca

Browse files
kr4chininnikku
authored andcommitted
fix: typo in var name, averge -> average
1 parent 27cbbd1 commit 91f01ca

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

app/custom/CustomContextPad.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const SUITABILITY_SCORE_HIGH = 100,
2-
SUITABILITY_SCORE_AVERGE = 50,
2+
SUITABILITY_SCORE_AVERAGE = 50,
33
SUITABILITY_SCORE_LOW = 25;
44

55
export default class CustomContextPad {
@@ -74,8 +74,8 @@ export default class CustomContextPad {
7474
className: 'bpmn-icon-task yellow',
7575
title: translate('Append Task with average suitability score'),
7676
action: {
77-
click: appendServiceTask(SUITABILITY_SCORE_AVERGE),
78-
dragstart: appendServiceTaskStart(SUITABILITY_SCORE_AVERGE)
77+
click: appendServiceTask(SUITABILITY_SCORE_AVERAGE),
78+
dragstart: appendServiceTaskStart(SUITABILITY_SCORE_AVERAGE)
7979
}
8080
},
8181
'append.high-task': {

app/custom/CustomPalette.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const SUITABILITY_SCORE_HIGH = 100,
2-
SUITABILITY_SCORE_AVERGE = 50,
2+
SUITABILITY_SCORE_AVERAGE = 50,
33
SUITABILITY_SCORE_LOW = 25;
44

55
export default class CustomPalette {
@@ -50,8 +50,8 @@ export default class CustomPalette {
5050
className: 'bpmn-icon-task yellow',
5151
title: translate('Create Task with average suitability score'),
5252
action: {
53-
dragstart: createTask(SUITABILITY_SCORE_AVERGE),
54-
click: createTask(SUITABILITY_SCORE_AVERGE)
53+
dragstart: createTask(SUITABILITY_SCORE_AVERAGE),
54+
click: createTask(SUITABILITY_SCORE_AVERAGE)
5555
}
5656
},
5757
'create.high-task': {

0 commit comments

Comments
 (0)