Skip to content

Commit

Permalink
chore: update _Binding type_ tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
philippfromme authored and nikku committed Aug 26, 2024
1 parent ef87fdc commit 0cad7a9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/contextProvider/zeebe/TooltipProvider.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-disable react-hooks/rules-of-hooks */
import {
is
is,
isAny
} from 'bpmn-js/lib/util/ModelUtil';

import {
Expand Down Expand Up @@ -293,13 +294,17 @@ const TooltipProvider = {
<h1>{ translate('Deployment binding') }</h1>
{ translate('Uses the resource found in the same deployment.') }
</p>
<p>
<h1>{ translate('Version tag binding') }</h1>
{ translate('Uses the most recent deployed resource with the given version tag.') }
</p>
</div>
);
},
'versionTag': (element) => {
const translate = useService('translate');

if (is(element, 'bpmn:Process')) {
if (isAny(element, [ 'bpmn:Process', 'bpmn:Participant' ])) {
return (
<div>
<p>
Expand Down

0 comments on commit 0cad7a9

Please sign in to comment.