diff options
author | Marcial Rosales <mrosales@pivotal.io> | 2023-02-01 16:42:33 +0100 |
---|---|---|
committer | Marcial Rosales <mrosales@pivotal.io> | 2023-02-01 16:42:33 +0100 |
commit | 3fca42ed7a3ec3578ac752fc0efae56059df2084 (patch) | |
tree | b83568637c095d32b9cb5305bc393f43f911b8c6 | |
parent | 6fd7b983d8c5d86a827a1591cc0e812022be7fc4 (diff) | |
download | rabbitmq-server-git-3fca42ed7a3ec3578ac752fc0efae56059df2084.tar.gz |
Fix issue #7142
The issue is that users retrieved with
the intention to list in the limits view
are not paged hence they are not wrapped
around a paging struct where users would be
under items attribute.
Pending selenium tests
-rw-r--r-- | deps/rabbitmq_management/priv/www/js/tmpl/limits.ejs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/deps/rabbitmq_management/priv/www/js/tmpl/limits.ejs b/deps/rabbitmq_management/priv/www/js/tmpl/limits.ejs index b5f7c68b4e..56d6e11b93 100644 --- a/deps/rabbitmq_management/priv/www/js/tmpl/limits.ejs +++ b/deps/rabbitmq_management/priv/www/js/tmpl/limits.ejs @@ -1,6 +1,6 @@ <h1>Limits</h1> -<div class="section"> +<div class="section" id="virtual-host-limits"> <h2>Virtual host Limits</h2> <div class="hider"> <div class="updatable"> @@ -49,7 +49,7 @@ </div> </div> -<div class="section administrator-only"> +<div class="section administrator-only" id="set-virtual-host-limits"> <h2>Set / update a virtual host limit</h2> <div class="hider"> <form action="#/limits" method="put"> @@ -88,7 +88,7 @@ </div> </div> -<div class="section"> +<div class="section" id="user-limits"> <h2>User Limits</h2> <div class="hider"> <div class="updatable"> @@ -137,7 +137,7 @@ </div> </div> -<div class="section administrator-only"> +<div class="section administrator-only" id="set-user-limits"> <h2>Set / update a user limit</h2> <div class="hider"> <form action="#/user-limits" method="put"> @@ -146,9 +146,9 @@ <th><label>User:</label></th> <td> <select name="user"> - <% for (var i = 0; i < users.items.length; i++) { %> - <option value="<%= fmt_string(users.items[i].name) %>"> - <%= fmt_string(users.items[i].name) %> + <% for (var i = 0; i < users.length; i++) { %> + <option value="<%= fmt_string(users[i].name) %>"> + <%= fmt_string(users[i].name) %> </option> <% } %> </select> |