18 lines
571 B
JavaScript
18 lines
571 B
JavaScript
window.onRenderExecutionCell = function(result, info)
|
|
{
|
|
if(info.col.name === 'name' && systemMode == 'ALM')
|
|
{
|
|
if(typeof result[0] == 'string')
|
|
{
|
|
result[0] = {html: result[0], className: 'flex-1 w-0'};
|
|
}
|
|
else
|
|
{
|
|
result[0].props.className = 'flex-1 w-0';
|
|
}
|
|
result.push({html: '<span class="label size-sm circle ' + (info.row.data.type == 'stage' ? 'warning' : 'secondary') + '-pale">' + typeList[info.row.data.type] + '</span>'}, {className:'row-reverse'});
|
|
}
|
|
|
|
return result;
|
|
}
|