Skip to content

Commit da43ccf

Browse files
Fix member variable for datamodel in Display
1 parent 02fda91 commit da43ccf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ function DisplayControl() {
691691
this.vhosts = false
692692
this.rabbitmqVersions = false
693693

694-
this.update = function(overview, ui_data_model) {
694+
this.update = function(overview, ui_data_model) {
695695
this.nodes = ac.canListNodes() && ui_data_model.nodes.length > 1
696696
this.vhosts = ac.canAccessVhosts()
697697
this.rabbitmqVersions = false

deps/rabbitmq_management/priv/www/js/tmpl/queues.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286
<% } %>
287287
<%
288288
if (ac.canListNodes()) {
289-
var nodes = display.data_model.nodes
289+
var nodes = display.data.nodes
290290
%>
291291
<tr>
292292
<th><label>Node:</label></th>

0 commit comments

Comments
 (0)