From 9cf090656ba04dd3a660d9d70f2a2b18232b5543 Mon Sep 17 00:00:00 2001 From: John Obelenus Date: Thu, 12 Dec 2024 13:10:03 -0500 Subject: [PATCH] Fix: add schema name to parent dropdown to help differentiate --- app/web/src/components/ComponentConnectionsPanel.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/web/src/components/ComponentConnectionsPanel.vue b/app/web/src/components/ComponentConnectionsPanel.vue index 3a05c1b9f1..c5bfc9e16a 100644 --- a/app/web/src/components/ComponentConnectionsPanel.vue +++ b/app/web/src/components/ComponentConnectionsPanel.vue @@ -55,7 +55,7 @@ const parentOptionsList = computed(() => { groups.forEach((group) => { if (group.def.id !== selectedComponentId) { list.push({ - label: group.def.displayName, + label: `${group.def.displayName} (${group.def.schemaName})`, value: group.def.id, } as LabelEntry); } @@ -72,7 +72,9 @@ const currentParentNamePropValue = computed(() => { return { id: currentParent.value?.id, propId: currentParent.value?.id, - value: currentParent.value?.displayName, + value: currentParent.value + ? `${currentParent.value.displayName} (${currentParent.value.schemaName})` + : null, canBeSetBySocket: false, isFromExternalSource: false, isControlledByDynamicFunc: false,