File tree 1 file changed +2
-2
lines changed
src/components/operations
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ const potentialLinksToAdd = computed(() => {
71
71
combinations = cartesian (combinations);
72
72
let executor;
73
73
if (selectedPotentialLink .value .executors ) {
74
- executor = selectedPotentialLink .value .executors .find ((e ) => filters .executor === e .name );
74
+ executor = selectedPotentialLink .value .executors .find ((e ) => filters .executor === e .name && filters . agent . platform === e . platform );
75
75
}
76
76
77
77
if (! combinations .length ) {
@@ -130,7 +130,7 @@ function selectPotentialLink(link) {
130
130
selectedPotentialLinkFacts .value = {};
131
131
if (! selectedPotentialLink .value .ability_id ) return ;
132
132
133
- let executor = link .executors .find ((e ) => filters .executor === e .name );
133
+ let executor = link .executors .find ((e ) => filters .executor === e .name && filters . agent . platform === e . platform );
134
134
potentialLinkCommand .value = executor .command ;
135
135
potentialLinkFields .value = [... new Set ([... executor .command .matchAll (/ #{(. *? )}/ gm )].map ((field ) => field[1 ]))];
136
136
You can’t perform that action at this time.
0 commit comments