Skip to content

Commit

Permalink
Only show name
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Apr 7, 2024
1 parent fc37186 commit b096e22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/other/PositionPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ const PositionPage = () => {
{item && Object.getOwnPropertyNames(item).filter((it) => it !== 'attributes').map((property) => (
<TableRow key={property}>
<TableCell>{property}</TableCell>
<TableCell><strong>{positionAttributes[property]?.name || property}</strong></TableCell>
<TableCell><strong>{positionAttributes[property]?.name}</strong></TableCell>
<TableCell><PositionValue position={item} property={property} /></TableCell>
</TableRow>
))}
{item && Object.getOwnPropertyNames(item.attributes).map((attribute) => (
<TableRow key={attribute}>
<TableCell>{attribute}</TableCell>
<TableCell><strong>{positionAttributes[attribute]?.name || attribute}</strong></TableCell>
<TableCell><strong>{positionAttributes[attribute]?.name}</strong></TableCell>
<TableCell><PositionValue position={item} attribute={attribute} /></TableCell>
</TableRow>
))}
Expand Down

0 comments on commit b096e22

Please sign in to comment.