mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
feat: Add link to parent execution
This commit is contained in:
parent
932ca0781a
commit
3df228c52f
|
@ -1432,15 +1432,17 @@ export default defineComponent({
|
|||
<n8n-text size="small" v-n8n-html="hint.message"></n8n-text>
|
||||
</n8n-callout>
|
||||
|
||||
<div :class="$style.execution">
|
||||
<n8n-button
|
||||
v-if="subWorkflowData && !(paneType === 'input' && hasInputOverwrite)"
|
||||
:label="`Open ${
|
||||
nodeType?.group?.includes('trigger') ? 'parent' : 'sub'
|
||||
} execution ${subWorkflowData.executionId}`"
|
||||
type="secondary"
|
||||
<div :class="$style.parentExecutionInfo">
|
||||
<a
|
||||
v-if="
|
||||
subWorkflowData &&
|
||||
!(paneType === 'input' && hasInputOverwrite) &&
|
||||
nodeType?.group?.includes('trigger')
|
||||
"
|
||||
@click.stop="openExecutionInNewTab(subWorkflowData.executionId, subWorkflowData.workflowId)"
|
||||
/>
|
||||
>
|
||||
{{ $locale.baseText('runData.openParentExecution') }}
|
||||
</a>
|
||||
<div v-if="itemSubWorkflowData.length">
|
||||
<n8n-select
|
||||
size="small"
|
||||
|
@ -2168,6 +2170,11 @@ export default defineComponent({
|
|||
.schema {
|
||||
padding: 0 var(--spacing-s);
|
||||
}
|
||||
|
||||
.parentExecutionInfo {
|
||||
font-size: var(--font-size-xs);
|
||||
padding: 0 0 var(--spacing-s) var(--spacing-s);
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
|
|
@ -1553,6 +1553,7 @@
|
|||
"resourceMapper.addAllFields": "Add All {fieldWord}",
|
||||
"resourceMapper.removeAllFields": "Remove All {fieldWord}",
|
||||
"resourceMapper.refreshFieldList": "Refresh {fieldWord} List",
|
||||
"runData.openParentExecution": "Open Parent Execution",
|
||||
"runData.emptyItemHint": "This is an item, but it's empty.",
|
||||
"runData.emptyArray": "[empty array]",
|
||||
"runData.emptyString": "[empty]",
|
||||
|
|
Loading…
Reference in a new issue