Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Add list of enabled mods
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaupin committed Jan 29, 2019
1 parent c8d87f4 commit 58134d8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/ReadOnlyProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,15 @@ class ReadOnlyProperties extends Component {
<Typography type='body1'>DLC: <em>{this.props.savegame.enabledDLC.join(', ') || 'None'}</em></Typography>
</div>
}
{this.isSavegamePropertyDefined('enabledMods') &&
<div
className={this.props.classes.readOnlyPropertiesItem}
style={{
width: '100%',
}}>
<Typography type='body1'>Mods: <em>{this.props.savegame.enabledMods.join(', ') || 'None'}</em></Typography>
</div>
}
</div>
</Paper>
</Collapse>
Expand Down

0 comments on commit 58134d8

Please sign in to comment.