Skip to content

Commit 335c7b4

Browse files
committed
Do not split user tags in management UI
As they are no longer a comma-separated list in a string. References #2667
1 parent 10ced3c commit 335c7b4

File tree

1 file changed

+1
-1
lines changed
  • deps/rabbitmq_management/priv/www/js

1 file changed

+1
-1
lines changed

deps/rabbitmq_management/priv/www/js/global.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ var user;
630630
function setup_global_vars() {
631631
var overview = JSON.parse(sync_get('/overview'));
632632
rates_mode = overview.rates_mode;
633-
user_tags = expand_user_tags(user.tags.split(","));
633+
user_tags = expand_user_tags(user.tags);
634634
user_administrator = jQuery.inArray("administrator", user_tags) != -1;
635635
is_user_policymaker = jQuery.inArray("policymaker", user_tags) != -1;
636636
user_monitor = jQuery.inArray("monitoring", user_tags) != -1;

0 commit comments

Comments
 (0)