Skip to content

Commit

Permalink
fix(edit): platform code no longer displayed in select tile list
Browse files Browse the repository at this point in the history
  • Loading branch information
stianjsu committed Jul 13, 2023
1 parent 59098a2 commit d6e9382
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions next-tavla/src/Admin/scenarios/SelectTile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ function QuayRadioOption({ tile }: { tile: TQuayTile }) {
id: tile.placeId,
})

const name =
(data?.quay?.name ?? tile.placeId) + data?.quay?.publicCode
? ' - ' + data?.quay?.publicCode
: ''
const name = data?.quay?.name ?? tile.placeId

return <RadioOption isLoading={isLoading} name={name} uuid={tile.uuid} />
}
Expand Down

0 comments on commit d6e9382

Please sign in to comment.