* Fix bug #44345, hide product if the project doesn't have product.

This commit is contained in:
liumengyi
2024-01-18 15:48:45 +08:00
parent 1be743f25a
commit 1b571a4d7d
+2
View File
@@ -53,6 +53,8 @@ if(common::canModify('project', $project) and common::hasPriv('project', 'testre
), 'btnProps' => array('size' => 'sm', 'btnType' => 'secondary'));
}
if(!$project->hasProduct) unset($config->project->dtable->testtask->fieldList['product']);
dtable
(
set::id('taskTable'),