Skip to content

Commit

Permalink
fix(instrument-types): use instrument types real names
Browse files Browse the repository at this point in the history
  • Loading branch information
bas-kirill committed Aug 29, 2024
1 parent 9b94a9c commit 083a18d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const InstrumentTypeFilter = (props: Props) => {

return (
<div>
<legend className={`${textStyle.primary}`} style={{ padding: "0" }}>
<legend style={{ padding: "0" }}>
Type
</legend>
{instrumentTypes.map((instrumentType) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class GetInstrumentTypesEndpoint(
fun List<Instrument.Type>.toRestResponse(): ResponseEntity<GetInstrumentTypesResponse> {
return ResponseEntity.ok(
GetInstrumentTypesResponse(
content = this.map { InstrumentType(it.name) },
content = this.map { InstrumentType(it.realName) },
),
)
}

0 comments on commit 083a18d

Please sign in to comment.