* Modify label of sub requirement. Fix bug#48102.

This commit is contained in:
xieqiyu
2024-04-19 13:53:41 +08:00
parent ba3435819b
commit c8e73c3342
+1 -1
View File
@@ -80,7 +80,7 @@ window.renderStoryCell = function(result, info)
if(story.parent > 0 && ($.cookie.get('tab') == 'execution' || ($.cookie.get('tab') == 'project' && hasProduct))) html += story.parentName + ' / ';
if(typeof modulePairs[story.moduleID] != 'undefined') html += "<span class='label gray-pale rounded-xl clip'>" + modulePairs[story.moduleID] + "</span> ";
if(story.parent > 0) html += "<span class='label gray-pale rounded-xl'>" + childrenAB + "</span>";
if(story.parent > 0) html += "<span class='label gray-pale rounded-xl'>" + (storyType == 'requirement' ? 'SR' : childrenAB) + "</span>";
if(html) result.unshift({html});
}
return result;