diff options
author | Alexey Lebedeff <binarin@binarin.info> | 2021-10-20 13:00:26 +0200 |
---|---|---|
committer | mergify-bot <noreply@mergify.io> | 2021-10-20 21:41:20 +0000 |
commit | cc67cdeb380ed47e0c63b12640def27118d6a4cf (patch) | |
tree | c1308e24158b9c1487f8c1b3d0b9d5793ba1fe23 | |
parent | df70a8c9db526caad9b82147195995160601696b (diff) | |
download | rabbitmq-server-git-mergify/bp/v3.8.x/pr-3600.tar.gz |
Fix persistent message count display in mgmt UImergify/bp/v3.8.x/pr-3600
Fixes #3396
As can be seen in
https://github.com/rabbitmq/rabbitmq-server/blob/9cf18e83f279408e20430b55428a2b19156c90d7/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs#L171
there should be 3 colums for a classic queue.
While it's possible to share the same field with the quorum queues
case, I did it this way so that conditions for the labels and for the
values will have the same shape.
(cherry picked from commit a3b02bd01c79fe86dfda822d22d793fbc4e097ab)
(cherry picked from commit 6fbbd3969866544de6e9ca2343927faca5bb6f2f)
-rw-r--r-- | deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs b/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs index 9a9e3afaa6..e6468c252a 100644 --- a/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs +++ b/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs @@ -178,6 +178,9 @@ </td> <% if (is_classic(queue)) { %> <td class="r"> + <%= fmt_num_thousands(queue.messages_ram) %> + </td> + <td class="r"> <%= fmt_num_thousands(queue.messages_persistent) %> </td> <td class="r"> |