fix: add tooltip

This commit is contained in:
Mutasem Aldmour 2024-11-12 10:54:03 +01:00
parent cdd662545d
commit 668df93867
No known key found for this signature in database
GPG key ID: 3DFA8122BB7FD6B8
2 changed files with 19 additions and 9 deletions

View file

@ -543,15 +543,24 @@ watch(focusedMappableInput, (curr) => {
@mouseenter="onMouseEnterCell"
@mouseleave="onMouseLeaveCell"
>
<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
:content="
i18n.baseText('runData.table.inspectSubExecution', {
interpolate: { id: tableData.metadata.data[index1]?.subExecution.executionId },
})
"
: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
v-for="(data, index2) in row"

View file

@ -1603,6 +1603,7 @@
"runData.showBinaryData": "View",
"runData.startTime": "Start Time",
"runData.table": "Table",
"runData.table.inspectSubExecution": "Inspect sub execution {id}",
"runData.pindata.learnMore": "Learn more",
"runData.pindata.thisDataIsPinned": "This data is pinned.",
"runData.pindata.unpin": "Unpin",