fix app redirect #261

Merged
deblan merged 2 commits from fix/issue257 into develop 2023-06-17 15:21:54 +02:00
Showing only changes of commit dd9fbcb654 - Show all commits

fix default menu redirect (#257)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful

Simon Vieille 2023-06-17 12:59:45 +02:00
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -74,9 +74,7 @@ class AppController extends Controller
$inTopMenuApps = in_array($app['id'], $topMenuApps);
$inHiddenApps = in_array($app['id'], $hiddenApps);
if (!$inTopMenuApps) {
continue;
} elseif ($inHiddenApps) {
if (!$inTopMenuApps && $inHiddenApps) {
continue;
}