File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/contextProvider/zeebe Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
/* eslint-disable react-hooks/rules-of-hooks */
2
2
import {
3
- is
3
+ is ,
4
+ isAny
4
5
} from 'bpmn-js/lib/util/ModelUtil' ;
5
6
6
7
import {
@@ -293,13 +294,17 @@ const TooltipProvider = {
293
294
< h1 > { translate ( 'Deployment binding' ) } </ h1 >
294
295
{ translate ( 'Uses the resource found in the same deployment.' ) }
295
296
</ 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 >
296
301
</ div >
297
302
) ;
298
303
} ,
299
304
'versionTag' : ( element ) => {
300
305
const translate = useService ( 'translate' ) ;
301
306
302
- if ( is ( element , 'bpmn:Process' ) ) {
307
+ if ( isAny ( element , [ 'bpmn:Process' , 'bpmn:Participant' ] ) ) {
303
308
return (
304
309
< div >
305
310
< p >
You can’t perform that action at this time.
0 commit comments