fix: 🐛 Fix drawer quando nessun modulo è installato

This commit is contained in:
Maicol Battistini 2022-01-10 17:13:58 +01:00
parent 5c98d91178
commit 020fc10e2c
No known key found for this signature in database
GPG Key ID: 4FDB0F87CDB1D34A
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@
'text' => __('Dashboard')
],
];
$to_merge = [];
foreach ($modules as $module) {
$to_merge[] = $module->drawer_entries;
}