diff options
author | Alexey Lebedeff <binarin@binarin.info> | 2021-10-20 13:00:26 +0200 |
---|---|---|
committer | Alexey Lebedeff <binarin@binarin.info> | 2021-10-20 13:00:26 +0200 |
commit | a3b02bd01c79fe86dfda822d22d793fbc4e097ab (patch) | |
tree | aac14ba2f27168078250bc6299e594c385bc51f6 | |
parent | 9cf18e83f279408e20430b55428a2b19156c90d7 (diff) | |
download | rabbitmq-server-git-mgmt-ui-persistent-messages-fix.tar.gz |
Fix persistent message count display in mgmt UImgmt-ui-persistent-messages-fix
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.
-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 86d917ce3c..c2022f73bb 100644 --- a/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs +++ b/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs @@ -195,6 +195,9 @@ <% } %> <% 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"> |