* [bug#52290,done,0.1h] fix bug.

This commit is contained in:
sunguangming
2024-07-06 13:56:11 +08:00
committed by 王怡栋
parent d81e668564
commit 941caef733
+1 -1
View File
@@ -47,7 +47,7 @@ window.onRenderCell = function(result, {col, row})
executionName += '<div class="ml-1 clip" style="width: max-content;">';
executionName += (executionType !== undefined && !row.data.isParent) ? `<a href="${executionLink}" class="text-primary">${row.data.name}</a>` : row.data.name;
executionName += '</div>';
executionName += (row.data.type != 'point' && row.data.end != '' && today > row.data.end) ? `<span class="label danger-pale ml-1 flex-none">${delayed}</span>` : '';
executionName += (!['done', 'closed', 'suspended'].includes(row.data.status) && row.data.type != 'point' && row.data.end != '' && today > row.data.end) ? `<span class="label danger-pale ml-1 flex-none">${delayed}</span>` : '';
result.push({html: executionName, className: 'w-full flex items-center'});
return result;