Skip to content

Commit

Permalink
Fix: add schema name to parent dropdown to help differentiate
Browse files Browse the repository at this point in the history
  • Loading branch information
jobelenus committed Dec 12, 2024
1 parent 14d25e6 commit 9cf0906
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/web/src/components/ComponentConnectionsPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>);
}
Expand All @@ -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,
Expand Down

0 comments on commit 9cf0906

Please sign in to comment.