From c8e73c3342d7d9885e36de3af567cc56cb2fbff9 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Fri, 19 Apr 2024 13:52:23 +0800 Subject: [PATCH] * Modify label of sub requirement. Fix bug#48102. --- module/execution/js/story.ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/js/story.ui.js b/module/execution/js/story.ui.js index 058b164b29..e06c3e0117 100644 --- a/module/execution/js/story.ui.js +++ b/module/execution/js/story.ui.js @@ -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 += "" + modulePairs[story.moduleID] + " "; - if(story.parent > 0) html += "" + childrenAB + ""; + if(story.parent > 0) html += "" + (storyType == 'requirement' ? 'SR' : childrenAB) + ""; if(html) result.unshift({html}); } return result;