Correctly handle StockTrackingItem if there is no user data

This commit is contained in:
Oliver Walters 2019-04-12 23:03:02 +10:00
parent 20acf1f692
commit 68ec5df371

View File

@ -220,7 +220,14 @@
field: 'user',
title: 'User',
formatter: function(value, row, index, field) {
return value.username;
if (value)
{
return value.username;
}
else
{
return "No user information";
}
}
}
],