Skip to content

Commit

Permalink
fix(editor): Fix sub-execution links in empty output tables
Browse files Browse the repository at this point in the history
  • Loading branch information
MiloradFilipovic committed Jan 22, 2025
1 parent ba8aa39 commit 4dbe253
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions packages/editor-ui/src/components/RunDataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -451,12 +451,13 @@ watch(focusedMappableInput, (curr) => {
<N8nIconButton
v-if="tableData.metadata.data[index1]"
v-show="showExecutionLink(index1)"
element="a"
type="secondary"
icon="external-link-alt"
data-test-id="debug-sub-execution"
size="mini"
:href="resolveRelatedExecutionUrl(tableData.metadata.data[index1])"
target="_blank"
:href="resolveRelatedExecutionUrl(tableData.metadata.data[index1])"
@click="trackOpeningRelatedExecution(tableData.metadata.data[index1], 'table')"
/>
</N8nTooltip>
Expand Down Expand Up @@ -584,20 +585,18 @@ watch(focusedMappableInput, (curr) => {
placement="left"
:hide-after="0"
>
<a
<N8nIconButton
v-if="tableData.metadata.data[index1]"
v-show="showExecutionLink(index1)"
:href="resolveRelatedExecutionUrl(tableData.metadata.data[index1])"
element="a"
type="secondary"
icon="external-link-alt"
data-test-id="debug-sub-execution"
size="mini"
target="_blank"
:href="resolveRelatedExecutionUrl(tableData.metadata.data[index1])"
@click="trackOpeningRelatedExecution(tableData.metadata.data[index1], 'table')"
>
<N8nIconButton
type="secondary"
icon="external-link-alt"
data-test-id="debug-sub-execution"
size="mini"
/>
</a>
/>
</N8nTooltip>
</td>
<td
Expand Down

0 comments on commit 4dbe253

Please sign in to comment.