Fix member variable for datamodel in Display

This commit is contained in:
Marcial Rosales 2023-05-23 17:03:45 +02:00
parent 02fda919a5
commit da43ccf6c7
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -286,7 +286,7 @@
<% } %>
<%
if (ac.canListNodes()) {
var nodes = display.data_model.nodes
var nodes = display.data.nodes
%>
<tr>
<th><label>Node:</label></th>