feat(editor): Experimental feature flag to show node settings in the canvas (no-changelog) (#15925)

This commit is contained in:
Suguru Inoue
2025-06-05 09:39:01 +02:00
committed by GitHub
parent d59b9b528e
commit c57e697249
7 changed files with 132 additions and 14 deletions

View File

@@ -65,6 +65,7 @@ const props = withDefaults(
blockUI: boolean;
executable: boolean;
inputSize: number;
activeNode?: INodeUi;
}>(),
{
foreignCredentials: () => [],
@@ -129,7 +130,7 @@ const isHomeProjectTeam = computed(
const isReadOnly = computed(
() => props.readOnly || (hasForeignCredential.value && !isHomeProjectTeam.value),
);
const node = computed(() => ndvStore.activeNode);
const node = computed(() => props.activeNode ?? ndvStore.activeNode);
const isTriggerNode = computed(() => !!node.value && nodeTypesStore.isTriggerNode(node.value.type));