diff --git a/packages/editor-ui/src/components/NodeDetailsView.vue b/packages/editor-ui/src/components/NodeDetailsView.vue
index 2c44b95b52..1b9bacfbed 100644
--- a/packages/editor-ui/src/components/NodeDetailsView.vue
+++ b/packages/editor-ui/src/components/NodeDetailsView.vue
@@ -338,8 +338,8 @@ export default mixins(
},
},
watch: {
- activeNode(node, oldNode) {
- if (node && !oldNode && !this.isActiveStickyNode) {
+ activeNode(node: INodeUi | null) {
+ if (node && !this.isActiveStickyNode) {
this.runInputIndex = -1;
this.runOutputIndex = -1;
this.isLinkingEnabled = true;
diff --git a/packages/editor-ui/src/components/RunData.vue b/packages/editor-ui/src/components/RunData.vue
index b640bbba12..d39582a89a 100644
--- a/packages/editor-ui/src/components/RunData.vue
+++ b/packages/editor-ui/src/components/RunData.vue
@@ -199,8 +199,14 @@
-
-
+
+
+ {{ $locale.baseText('nodeErrorView.inputPanel.previousNodeError.title', { interpolate: { nodeName: node.name } }) }}
+
+ {{ $locale.baseText('nodeErrorView.inputPanel.previousNodeError.text') }}
+
+
+
@@ -335,7 +341,6 @@
//@ts-ignore
import VueJsonPretty from 'vue-json-pretty';
import {
- GenericValue,
IBinaryData,
IBinaryKeyData,
IDataObject,
@@ -351,7 +356,6 @@ import {
INodeUi,
IRunDataDisplayMode,
ITab,
- ITableData,
} from '@/Interface';
import {
@@ -479,7 +483,7 @@ export default mixins(
mounted() {
this.init();
- if (this.paneType === 'output') {
+ if (!this.isPaneTypeInput) {
this.eventBus.$on('data-pinning-error', this.onDataPinningError);
this.eventBus.$on('data-unpinning', this.onDataUnpinning);
@@ -532,7 +536,7 @@ export default mixins(
return !!(this.nodeType && this.nodeType.group.includes('trigger'));
},
canPinData (): boolean {
- return this.paneType === 'output' &&
+ return !this.isPaneTypeInput &&
this.isPinDataNodeType &&
!(this.binaryData && this.binaryData.length > 0);
},
@@ -690,9 +694,12 @@ export default mixins(
return branches;
},
editMode(): { enabled: boolean; value: string; } {
- return this.paneType === 'output'
- ? this.$store.getters['ui/outputPanelEditMode']
- : { enabled: false, value: '' };
+ return this.isPaneTypeInput
+ ? { enabled: false, value: '' }
+ : this.$store.getters['ui/outputPanelEditMode'];
+ },
+ isPaneTypeInput(): boolean {
+ return this.paneType === 'input';
},
},
methods: {
@@ -1231,6 +1238,11 @@ export default mixins(
this.$store.commit('updateNodeProperties', updateInformation);
}
},
+ goToErroredNode() {
+ if (this.node) {
+ this.$store.commit('setActiveNode', this.node.name);
+ }
+ },
},
watch: {
node() {
@@ -1523,6 +1535,11 @@ export default mixins(
align-items: center;
margin-left: var(--spacing-s);
}
+
+.stretchVertically {
+ height: 100%;
+}
+