Skip to content
This repository was archived by the owner on Apr 15, 2019. It is now read-only.

Commit e98c9ef

Browse files
committed
Character-Detail: Only show info-box rows if the info is not empty.
Closes #175
1 parent 3bc741d commit e98c9ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/common/CharacterDetails/CharacterDetails.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default class CharacterDetails extends Component {
1111
var result = [];
1212
var meta = "";
1313
for(detail of details){
14-
if(detail in this.props.data){
14+
if(detail in this.props.data && this.props.data[detail].length > 1){
1515
switch (detail) {
1616
case "age" : meta = "Age"; break;
1717
case "house" : meta = "House"; break;

0 commit comments

Comments
 (0)