feat(editor): Forbid focusing on node settings parameter (no-changelog) (#17193)

This commit is contained in:
Daria
2025-07-10 15:00:17 +03:00
committed by GitHub
parent 3926696709
commit 4b945a028c
2 changed files with 10 additions and 1 deletions

View File

@@ -90,8 +90,9 @@ const isFocusPanelFeatureEnabled = computed(() => {
const hasFocusAction = computed(
() =>
isFocusPanelFeatureEnabled.value &&
!props.parameter.isNodeSetting &&
!props.isReadOnly &&
activeNode.value &&
activeNode.value && // checking that it's inside ndv
(props.parameter.type === 'string' || props.parameter.type === 'json'),
);