mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Merge branch '1369-interface-graphs-when-interface-is-not-init-in-networkmaps-dev' into 'develop'
Fixed filter to show interface graph or not See merge request artica/pandorafms!957
This commit is contained in:
commit
7beb05f8db
@ -821,6 +821,12 @@ function get_interface_data_to_table(node_selected, selected_links) {
|
||||
}
|
||||
else {
|
||||
jQuery.each(data, function (j, interface) {
|
||||
if (interface['graph'] == "") {
|
||||
var interf_graph = "--";
|
||||
}
|
||||
else {
|
||||
var interf_graph = interface['graph'];
|
||||
}
|
||||
$("#interface_information").find('tbody')
|
||||
.append($('<tr>')
|
||||
.append($('<td>')
|
||||
@ -830,7 +836,7 @@ function get_interface_data_to_table(node_selected, selected_links) {
|
||||
.html(interface['status'])
|
||||
)
|
||||
.append($('<td>')
|
||||
.html(interface['graph'])
|
||||
.html(interf_graph)
|
||||
)
|
||||
.append($('<td>')
|
||||
.html(interface['ip'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user