Skip to content

Commit

Permalink
Merge pull request #5115 from systeminit/fix/add-schema-name-to-dropdown
Browse files Browse the repository at this point in the history
Fix: add schema name to parent dropdown to help differentiate
  • Loading branch information
jobelenus authored Dec 12, 2024
2 parents 6b79f6c + 9cf0906 commit 14a4f93
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 14a4f93

Please sign in to comment.