Skip to content

Commit 0cad7a9

Browse files
philippfrommenikku
authored andcommitted
chore: update _Binding type_ tooltip
1 parent ef87fdc commit 0cad7a9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/contextProvider/zeebe/TooltipProvider.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* eslint-disable react-hooks/rules-of-hooks */
22
import {
3-
is
3+
is,
4+
isAny
45
} from 'bpmn-js/lib/util/ModelUtil';
56

67
import {
@@ -293,13 +294,17 @@ const TooltipProvider = {
293294
<h1>{ translate('Deployment binding') }</h1>
294295
{ translate('Uses the resource found in the same deployment.') }
295296
</p>
297+
<p>
298+
<h1>{ translate('Version tag binding') }</h1>
299+
{ translate('Uses the most recent deployed resource with the given version tag.') }
300+
</p>
296301
</div>
297302
);
298303
},
299304
'versionTag': (element) => {
300305
const translate = useService('translate');
301306

302-
if (is(element, 'bpmn:Process')) {
307+
if (isAny(element, [ 'bpmn:Process', 'bpmn:Participant' ])) {
303308
return (
304309
<div>
305310
<p>

0 commit comments

Comments
 (0)