mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
Fix divice listing issue
This commit is contained in:
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…
Reference in New Issue
Block a user