Skip to content

Commit

Permalink
[BREAK] [FIX] Fix spelling "totlalLivechat" to "totalLivechat" in sta…
Browse files Browse the repository at this point in the history
…tistics

[BREAK] [FIX] Statistics fix spelling
  • Loading branch information
engelgabriel authored Jun 4, 2018
2 parents 6921be6 + 0961c1e commit 8f69796
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/rocketchat-statistics/server/functions/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RocketChat.statistics.get = function _getStatistics() {
statistics.totalChannels = RocketChat.models.Rooms.findByType('c').count();
statistics.totalPrivateGroups = RocketChat.models.Rooms.findByType('p').count();
statistics.totalDirect = RocketChat.models.Rooms.findByType('d').count();
statistics.totlalLivechat = RocketChat.models.Rooms.findByType('l').count();
statistics.totalLivechat = RocketChat.models.Rooms.findByType('l').count();

// Message statistics
statistics.totalMessages = RocketChat.models.Messages.find().count();
Expand Down
2 changes: 1 addition & 1 deletion packages/rocketchat-ui-admin/client/adminInfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ <h3>{{_ "Usage"}}</h3>
</tr>
<tr class="admin-table-row">
<th class="content-background-color border-component-color">{{_ "Stats_Total_Livechat_Rooms"}}</th>
<td class="border-component-color">{{statistics.totalDirect}}</td>
<td class="border-component-color">{{statistics.totalLivechat}}</td>
</tr>
<tr class="admin-table-row">
<th class="content-background-color border-component-color">{{_ "Stats_Total_Messages"}}</th>
Expand Down

0 comments on commit 8f69796

Please sign in to comment.