Skip to content

Commit

Permalink
show specification details in description (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
runeanielsen authored Oct 8, 2024
1 parent d387df4 commit 360159a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function specificationToOptions(
return specs
.filter((x) => x.isRackEquipment === isRackEquipment)
.filter((x) => x.category === category)
.map((x) => ({ text: x.name, value: x.id, key: x.id }));
.map((x) => ({ text: x.description, value: x.id, key: x.id }));
}

function manufacturerToOptions(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export interface TerminalEquipmentSpecification {
name: string;
category: string;
isRackEquipment: boolean;
description: string;
manufacturerRefs: string[];
isAddressable: boolean;
}
Expand Down

0 comments on commit 360159a

Please sign in to comment.