* For ipd.

This commit is contained in:
sunguangming
2024-06-03 16:52:52 +08:00
parent 4318ed79bc
commit d9a381ef4b
+2 -2
View File
@@ -5238,8 +5238,8 @@ class storyModel extends model
public function getGradeMenu(string $storyType, object $project = null): array
{
$storyTypes = isset($project->storyType) ? explode(',', $project->storyType) : array();
$showEpic = $storyType == 'epic' || in_array('epic', $storyTypes);
$showRequirement = $showEpic || $storyType == 'requirement' || in_array('requirement', $storyTypes);
$showEpic = $storyType == 'epic' || in_array('epic', $storyTypes) || $storyType == 'all';
$showRequirement = $showEpic || $storyType == 'requirement' || in_array('requirement', $storyTypes) || $storyType == 'all';
$menu = array();
if($showEpic)