mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
add debug button to empty items
This commit is contained in:
parent
e6b2daaa03
commit
63e74f5e5e
|
@ -417,6 +417,9 @@ watch(focusedMappableInput, (curr) => {
|
||||||
<table v-if="tableData.columns && tableData.columns.length === 0" :class="$style.table">
|
<table v-if="tableData.columns && tableData.columns.length === 0" :class="$style.table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th v-if="tableData.metadata.hasExecutionIds" :class="$style.executionLinkRowHeader">
|
||||||
|
<!-- column for execution link -->
|
||||||
|
</th>
|
||||||
<th :class="$style.emptyCell"></th>
|
<th :class="$style.emptyCell"></th>
|
||||||
<th :class="$style.tableRightMargin"></th>
|
<th :class="$style.tableRightMargin"></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -427,6 +430,35 @@ watch(focusedMappableInput, (curr) => {
|
||||||
:key="index1"
|
:key="index1"
|
||||||
:class="{ [$style.hoveringRow]: isHoveringRow(index1) }"
|
:class="{ [$style.hoveringRow]: isHoveringRow(index1) }"
|
||||||
>
|
>
|
||||||
|
<td
|
||||||
|
v-if="tableData.metadata.hasExecutionIds"
|
||||||
|
:data-row="index1"
|
||||||
|
:class="$style.executionLinkCell"
|
||||||
|
@mouseenter="onMouseEnterCell"
|
||||||
|
@mouseleave="onMouseLeaveCell"
|
||||||
|
>
|
||||||
|
<N8nTooltip
|
||||||
|
:content="
|
||||||
|
i18n.baseText('runData.table.inspectSubExecution', {
|
||||||
|
interpolate: {
|
||||||
|
id: `${tableData.metadata.data[index1]?.subExecution.executionId}`,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
"
|
||||||
|
placement="left"
|
||||||
|
:hide-after="0"
|
||||||
|
>
|
||||||
|
<N8nIconButton
|
||||||
|
v-if="tableData.metadata.data[index1]"
|
||||||
|
v-show="showExecutionLink(index1)"
|
||||||
|
type="secondary"
|
||||||
|
icon="external-link-alt"
|
||||||
|
data-test-id="debug-sub-execution"
|
||||||
|
size="mini"
|
||||||
|
@click="openRelatedExecution(tableData.metadata.data[index1], 'table')"
|
||||||
|
/>
|
||||||
|
</N8nTooltip>
|
||||||
|
</td>
|
||||||
<td
|
<td
|
||||||
:data-row="index1"
|
:data-row="index1"
|
||||||
:data-col="0"
|
:data-col="0"
|
||||||
|
|
Loading…
Reference in a new issue