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