Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions deps/rabbitmq_management/priv/www/js/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ function DisplayControl() {
this.vhosts = false
this.rabbitmqVersions = false

this.update = function(overview, ui_data_model) {
this.update = function(overview, ui_data_model) {
this.nodes = ac.canListNodes() && ui_data_model.nodes.length > 1
this.vhosts = ac.canAccessVhosts()
this.rabbitmqVersions = false
Expand Down Expand Up @@ -740,7 +740,7 @@ function setup_global_vars(overview) {
'<li>Cluster ' + (user_administrator ? '<a href="#/cluster-name">' + cluster_name + '</a>' : cluster_name) + '</li>'
);

user_name = fmt_escape_html(user.name);
user_name = fmt_escape_html(user.name);
$('#header #logout').prepend(
'User ' + (user_administrator && user.is_internal_user ? '<a href="#/users/' + user_name + '">' + user_name + '</a>' : user_name)
);
Expand Down Expand Up @@ -918,7 +918,7 @@ var QUEUE_TYPE = function (queue) {
QUEUE_TYPE["default"] = {
label: "Default",
params: {},
policy_apply_to: "classic_queue",
policy_apply_to: "classic_queues",
actions: {
get_message: true,
purge: true
Expand All @@ -938,7 +938,7 @@ QUEUE_TYPE["default"] = {
QUEUE_TYPE["classic"] = {
label: "Classic",
params: {},
policy_apply_to: "classic_queue",
policy_apply_to: "classic_queues",
actions: {
get_message: true,
purge: true
Expand Down
Loading