@@ -707,7 +707,7 @@ function DisplayControl() {
707707 this . vhosts = false
708708 this . rabbitmqVersions = false
709709
710- this . update = function ( overview , ui_data_model ) {
710+ this . update = function ( overview , ui_data_model ) {
711711 this . nodes = ac . canListNodes ( ) && ui_data_model . nodes . length > 1
712712 this . vhosts = ac . canAccessVhosts ( )
713713 this . rabbitmqVersions = false
@@ -740,7 +740,7 @@ function setup_global_vars(overview) {
740740 '<li>Cluster ' + ( user_administrator ? '<a href="#/cluster-name">' + cluster_name + '</a>' : cluster_name ) + '</li>'
741741 ) ;
742742
743- user_name = fmt_escape_html ( user . name ) ;
743+ user_name = fmt_escape_html ( user . name ) ;
744744 $ ( '#header #logout' ) . prepend (
745745 'User ' + ( user_administrator && user . is_internal_user ? '<a href="#/users/' + user_name + '">' + user_name + '</a>' : user_name )
746746 ) ;
@@ -918,7 +918,7 @@ var QUEUE_TYPE = function (queue) {
918918QUEUE_TYPE [ "default" ] = {
919919 label : "Default" ,
920920 params : { } ,
921- policy_apply_to : "classic_queue " ,
921+ policy_apply_to : "classic_queues " ,
922922 actions : {
923923 get_message : true ,
924924 purge : true
@@ -938,7 +938,7 @@ QUEUE_TYPE["default"] = {
938938QUEUE_TYPE [ "classic" ] = {
939939 label : "Classic" ,
940940 params : { } ,
941- policy_apply_to : "classic_queue " ,
941+ policy_apply_to : "classic_queues " ,
942942 actions : {
943943 get_message : true ,
944944 purge : true
0 commit comments