mirror of https://github.com/apache/cloudstack.git
Prevent dashboard from breaking if item value is null
This commit is contained in:
parent
2dd328fac4
commit
8ec783866b
|
|
@ -46,6 +46,8 @@
|
|||
}
|
||||
|
||||
$.each(item, function(arrayKey, arrayValue) {
|
||||
if (!arrayValue) arrayValue = '';
|
||||
|
||||
var $arrayElem = $li.find('[data-list-item=' + arrayKey + ']');
|
||||
|
||||
$arrayElem.each(function() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue