add no output message in branch

This commit is contained in:
Mutasem 2022-04-07 10:32:43 +02:00
parent f9f4948849
commit 8cbe81f7aa
2 changed files with 7 additions and 0 deletions

View file

@ -75,6 +75,12 @@
<NodeErrorView :error="workflowRunData[node.name][runIndex].error" />
</div>
<div v-else-if="hasNodeRun && jsonData && jsonData.length === 0 && branches.length > 1" :class="$style.center">
<n8n-text>
{{ $locale.baseText('ndv.output.noOutputDataInBranch') }}
</n8n-text>
</div>
<div v-else-if="hasNodeRun && jsonData && jsonData.length === 0" :class="$style.center">
<n8n-text :bold="true" color="text-dark">{{ $locale.baseText('ndv.output.noOutputData.title') }}</n8n-text>
<n8n-text>

View file

@ -1152,6 +1152,7 @@
"ndv.output.noOutputData.message": "n8n stops executing the workflow when a node has no output data. You can change this default behaviour via",
"ndv.output.noOutputData.message.settings": "Settings",
"ndv.output.noOutputData.message.settingsOption": "> “Always Output Data”.",
"ndv.output.noOutputDataInBranch": "No output data in this branch",
"ndv.output.tooMuchData.title": "Output data is huge!",
"ndv.output.tooMuchData.message": "The node contains {size} MB of data. Displaying it may cause problems. <br /> If you do decide to display it, avoid the JSON view.",
"ndv.output.tooMuchData.showDataAnyway": "Show data anyway",