* [bug#65360,done,0.5h] hidden plan block when the stage hasn't product.

This commit is contained in:
tianshujie
2025-09-19 11:54:39 +08:00
parent 854fff5eda
commit edac057ee1
+1
View File
@@ -77,6 +77,7 @@ class executionModel extends model
if(in_array($execution->attribute, array('request', 'review'))) $features['plan'] = false;
if($execution->attribute == 'review') $features['story'] = false;
}
if(empty($execution->hasProduct) && in_array($execution->attribute, array('plan', 'develop', 'qualify', 'launch'))) $features['plan'] = false;
}
/* The plan function is disabled for no-product project. */