Skip to content

Commit

Permalink
use long name in hex
Browse files Browse the repository at this point in the history
  • Loading branch information
hj940709 committed Nov 18, 2024
1 parent 4693eb0 commit ef758b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/components/GridHexagon/GridText.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class GridText extends Component {
)
else {
const splitted_string = []
let remaining_string = children
let remaining_string = children.length > 30 ? children.slice(0, 27) + '...' : children
/*if (remaining_string.includes(': ') && remaining_string.length >= 18){
const temp = remaining_string.split(': ')
splited_string.push(temp[0] + ':')
Expand Down
2 changes: 1 addition & 1 deletion client/components/GridHexagon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const HexagonTest = props => {
.filter(concept => concept.hex_coords)
.map(hex => (
<ConstructionHexagon
name={hex.short_name}
name={hex.name}
position={hex.hex_coords}
statistics={accumulatedConcepts[hex.concept_id]}
overallTotal={getBiggestHistoryTotal()}
Expand Down

0 comments on commit ef758b0

Please sign in to comment.