* Revise the process of generating data for the data table on the product view page.
This commit is contained in:
@@ -5,10 +5,15 @@ window.footerGenerator = function()
|
||||
|
||||
window.renderReleaseCountCell = function(result, {col, row})
|
||||
{
|
||||
if(col.name === 'createdDate' || col.name === 'latestReleaseDate')
|
||||
if(col.name === 'createdDate')
|
||||
{
|
||||
if(row.data.createdDate === '') return [''];
|
||||
}
|
||||
|
||||
if(col.name === 'latestReleaseDate')
|
||||
{
|
||||
if(row.data.latestReleaseDate === '') return [''];
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user