mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Use previous node for FocusPanel execution hint (no-changelog) (#17575)
This commit is contained in:
@@ -22,6 +22,7 @@ interface Props {
|
||||
iconOrientation?: 'horizontal' | 'vertical';
|
||||
loading?: boolean;
|
||||
loadingMessage?: string;
|
||||
isContentOverridden?: boolean;
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
@@ -31,6 +32,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
iconOrientation: 'vertical',
|
||||
loading: false,
|
||||
loadingMessage: () => useI18n().baseText('genericHelpers.loading'),
|
||||
isContentOverridden: false,
|
||||
});
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -60,6 +62,7 @@ const canBeOpenedInFocusPanel = computed(
|
||||
isFocusPanelFeatureEnabled.value &&
|
||||
!props.parameter.isNodeSetting &&
|
||||
!props.isReadOnly &&
|
||||
!props.isContentOverridden &&
|
||||
activeNode.value && // checking that it's inside ndv
|
||||
(props.parameter.type === 'string' || props.parameter.type === 'json'),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user