Fix member variable for datamodel in Display
This commit is contained in:
parent
02fda919a5
commit
da43ccf6c7
|
|
@ -691,7 +691,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
|
||||
|
|
|
|||
|
|
@ -286,7 +286,7 @@
|
|||
<% } %>
|
||||
<%
|
||||
if (ac.canListNodes()) {
|
||||
var nodes = display.data_model.nodes
|
||||
var nodes = display.data.nodes
|
||||
%>
|
||||
<tr>
|
||||
<th><label>Node:</label></th>
|
||||
|
|
|
|||
Loading…
Reference in New Issue