mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Enable pinning main output with error and always allow unpinning (#11452)
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
This commit is contained in:
@@ -289,7 +289,7 @@ export default defineComponent({
|
||||
return false;
|
||||
}
|
||||
|
||||
const canPinNode = usePinnedData(this.node).canPinNode(false);
|
||||
const canPinNode = usePinnedData(this.node).canPinNode(false, this.currentOutputIndex);
|
||||
|
||||
return (
|
||||
canPinNode &&
|
||||
@@ -1214,9 +1214,7 @@ export default defineComponent({
|
||||
<template>
|
||||
<div :class="['run-data', $style.container]" @mouseover="activatePane">
|
||||
<n8n-callout
|
||||
v-if="
|
||||
canPinData && pinnedData.hasData.value && !editMode.enabled && !isProductionExecutionPreview
|
||||
"
|
||||
v-if="pinnedData.hasData.value && !editMode.enabled && !isProductionExecutionPreview"
|
||||
theme="secondary"
|
||||
icon="thumbtack"
|
||||
:class="$style.pinnedDataCallout"
|
||||
|
||||
Reference in New Issue
Block a user