* [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 14:26:00 +08:00
parent fb9b06ffdd
commit aa87e2ae44
+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';