actually wire up alwaysShowTimestamps

This commit is contained in:
Matthew Hodgson 2017-05-27 00:14:16 +01:00
parent 81704a5b5e
commit 03194e66b3
2 changed files with 13 additions and 1 deletions

View file

@ -176,6 +176,9 @@ var TimelinePanel = React.createClass({
// should the event tiles have twelve hour times
isTwelveHour: UserSettingsStore.getSyncedSetting('showTwelveHourTimestamps'),
// always show timestamps on event tiles?
alwaysShowTimestamps: UserSettingsStore.getSyncedSetting('alwaysShowTimestamps'),
};
},
@ -1127,6 +1130,7 @@ var TimelinePanel = React.createClass({
onUnfillRequest={ this.onMessageListUnfillRequest }
opacity={ this.props.opacity }
isTwelveHour={ this.state.isTwelveHour }
alwaysShowTimestamps={ this.state.alwaysShowTimestamps }
className={ this.props.className }
tileShape={ this.props.tileShape }
/>