* [bug#50203] The default show of the dropmenu of branch has error at story view page.

This commit is contained in:
xieqiyu
2024-05-27 15:41:45 +08:00
committed by caoyanyi
parent 4c79dca2af
commit fe2357bc2d
+2
View File
@@ -14,6 +14,8 @@ use function zin\utils\flat;
include($this->app->getModuleRoot() . 'ai/ui/promptmenu.html.php');
data('branch', $story->branch);
$isInModal = isInModal();
$isRequirement = $story->type == 'requirement';
$isStoryType = $story->type == 'story';