Skip to content

Commit

Permalink
fixup! load widgets only of enabled apps
Browse files Browse the repository at this point in the history
  • Loading branch information
blizzz committed Jun 22, 2022
1 parent 4001cf3 commit a0ac3ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/Dashboard/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public function loadLazyPanels(): void {
}
$services = $this->lazyWidgets;
foreach ($services as $service) {
/** @psalm-suppress InvalidCatch */
try {
if (!$this->appManager->isEnabledForUser($service['appId'])) {
// all apps are registered, but some may not be enabled for the user
Expand Down

0 comments on commit a0ac3ea

Please sign in to comment.