Add create_at back to profile fields to fix analytics

This commit is contained in:
JoramWilander
2016-01-22 09:53:17 -05:00
parent cefdad6d8c
commit bbcf00f02e
5 changed files with 20 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ export default class SystemAnalytics extends React.Component {
return (
<div>
<Analytics
title={'the system'}
title={'the System'}
channelOpenCount={this.state.channel_open_count}
channelPrivateCount={this.state.channel_private_count}
postCount={this.state.post_count}

View File

@@ -152,6 +152,10 @@ export default class TeamAnalytics extends React.Component {
var recentActive = [];
for (let i = 0; i < usersList.length; i++) {
if (usersList[i].last_activity_at == null) {
continue;
}
recentActive.push(usersList[i]);
if (i > 19) {
break;