mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
List view UI: Fix 'no data to show' message not appearing in some cases
This commit is contained in:
parent
d9d6d21b5c
commit
4fd3fca848
@ -863,7 +863,7 @@
|
||||
var uiCustom = listViewArgs.uiCustom;
|
||||
var subselect = uiCustom ? listViewArgs.listView.subselect : null;
|
||||
|
||||
if (!data || ($.isArray(data) && !data.length)) {
|
||||
if (!data || !data.length) {
|
||||
if (!$tbody.find('tr').size()) {
|
||||
return [
|
||||
$('<tr>').addClass('empty').append(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user