From 505e72c0dc2101359f8d1ab32dc98c8c07b97bfa Mon Sep 17 00:00:00 2001 From: sunguangming Date: Wed, 8 May 2024 13:51:36 +0800 Subject: [PATCH] * Code for task #116708. --- module/story/zen.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/story/zen.php b/module/story/zen.php index 708366ef0f..5207e376b5 100644 --- a/module/story/zen.php +++ b/module/story/zen.php @@ -717,7 +717,7 @@ class storyZen extends story if($this->view->hiddenPlan) unset($fields['plan']); $hiddenGrade = !$this->story->showGrade($storyType); - if($hiddenGrade && $storyType == 'epic') unset($fields['parent']); + if($hiddenGrade && $storyType == 'epic') $fields['parent']['hidden'] = true; $this->view->branchID = $branch; $this->view->gradeRule = $this->config->{$storyType}->gradeRule; @@ -1111,7 +1111,7 @@ class storyZen extends story unset($fields['region']); unset($fields['lane']); } - if($this->app->tab == 'project' || $this->app->tab == 'execution') unset($fields['parent']); + if($this->app->tab == 'project' || $this->app->tab == 'execution') $fields['parent']['hidden'] = true; return $fields; }