mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-02 08:09:19 +08:00
Set modules on no cache metadata
This commit is contained in:
parent
d703985de8
commit
85e69e6cae
1 changed files with 2 additions and 0 deletions
|
@ -686,8 +686,10 @@ class AppMetadataProvider implements AppMetadataProviderInterface
|
|||
$metadata->setMinimalModuleMetadata([]);
|
||||
if (in_array('moduleMetadata', $exposed, true)) {
|
||||
$metadata->setModuleMetadata($this->getModuleMetadata($moduleName, $navigation));
|
||||
$metadata->setModules($this->getModules($moduleName));
|
||||
} elseif (in_array('minimalModuleMetadata', $exposed, true)) {
|
||||
$metadata->setMinimalModuleMetadata($this->getMinimalModuleMetadata($moduleName));
|
||||
$metadata->setModules($this->getModules($moduleName));
|
||||
}
|
||||
|
||||
/** @var \User $currentUser */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue