Fix divice listing issue

application-manager-new
charithag 9 years ago
parent 74958fd4bc
commit b074589587

@ -164,7 +164,7 @@ function loadDevices() {
} else {
groups = data.data;
}
if (groups.length == 1 && groups[0].id == 0) {
if (groups.length == 1 && groups[0].id == 0 && groups[0].devices.length == 0) {
$("#ast-container-parent").html($("#no-devices-div-content").html());
} else {
viewModel.groups = groups;

Loading…
Cancel
Save