* Call isClickable from storyModel.

This commit is contained in:
dingguodong
2023-06-08 10:23:51 +08:00
parent eaca90a71f
commit b13ad72e5a
+1 -1
View File
@@ -293,7 +293,7 @@ $fnBuildActions = function($story) use ($lang, $storyType)
$shadow = $this->dao->findByID($story->product)->from(TABLE_PRODUCT)->fetch('shadow');
if($this->app->rawModule != 'projectstory' || $this->config->vision == 'lite' || $shadow)
{
$isClick = $this->isClickable($story, 'batchcreate');
$isClick = $this->story->isClickable($story, 'batchcreate');
$title = $story->type == 'story' ? $this->lang->story->subdivideSR : $this->lang->story->subdivide;
if(!$isClick && $story->status != 'closed')
{