* [bug#55338] Hide epic in light on tutorial.

This commit is contained in:
xieqiyu
2024-09-13 15:14:41 +08:00
committed by 胡方舟
parent 23e365720f
commit a19f0d8e54
3 changed files with 106 additions and 75 deletions
+6 -3
View File
@@ -507,8 +507,11 @@ class tutorialModel extends model
$reviewingStory->path = ',1,2,4,';
$stories = array();
$stories[1] = $this->getEpic();
$stories[2] = $this->getRequirement();
if($this->app->config->systemMode != 'light')
{
$stories[1] = $this->getEpic();
$stories[2] = $this->getRequirement();
}
if($this->app->config->vision == 'rnd')
{
$stories[3] = $activeStory;
@@ -702,7 +705,7 @@ class tutorialModel extends model
public function getExecutionStoryPairs(): array
{
$stories = $this->getStories();
$story = $stories[2];
$story = $stories[3];
return array($story->id => $story->title);
}