Dashboard number format
This commit is contained in:
parent
188cc53f43
commit
59dbf2b8f1
|
@ -158,8 +158,8 @@ function updateDashboard(queues) {
|
||||||
messagesCol = cols[1],
|
messagesCol = cols[1],
|
||||||
subscriptionsCol = cols[2];
|
subscriptionsCol = cols[2];
|
||||||
|
|
||||||
messagesCol.innerHTML = meta.messages;
|
messagesCol.innerHTML = Number(meta.messages).toLocaleString();
|
||||||
subscriptionsCol.innerHTML = meta.subscriptions;
|
subscriptionsCol.innerHTML = Number(meta.subscriptions).toLocaleString();
|
||||||
|
|
||||||
if (meta.messages > hotThreshold) {
|
if (meta.messages > hotThreshold) {
|
||||||
nameCol.setAttribute('class', 'name hot');
|
nameCol.setAttribute('class', 'name hot');
|
||||||
|
|
Loading…
Reference in New Issue