1
0
Fork 0

Dashboard number format

This commit is contained in:
Gregory Eremin 2015-01-26 20:41:17 +07:00
parent 188cc53f43
commit 59dbf2b8f1
1 changed files with 2 additions and 2 deletions

View File

@ -158,8 +158,8 @@ function updateDashboard(queues) {
messagesCol = cols[1],
subscriptionsCol = cols[2];
messagesCol.innerHTML = meta.messages;
subscriptionsCol.innerHTML = meta.subscriptions;
messagesCol.innerHTML = Number(meta.messages).toLocaleString();
subscriptionsCol.innerHTML = Number(meta.subscriptions).toLocaleString();
if (meta.messages > hotThreshold) {
nameCol.setAttribute('class', 'name hot');