diff --git a/settings/Controller/AppSettingsController.php b/settings/Controller/AppSettingsController.php index 8d12b2a85a..a665532a3b 100644 --- a/settings/Controller/AppSettingsController.php +++ b/settings/Controller/AppSettingsController.php @@ -273,6 +273,12 @@ class AppSettingsController extends Controller { $apps = array_filter($apps, function ($app) { return $app['active']; }); + + foreach($apps as $key => $app) { + $newVersion = \OC\Installer::isUpdateAvailable($app['id'], $this->appFetcher); + $apps[$key]['update'] = $newVersion; + } + usort($apps, function ($a, $b) { $a = (string)$a['name']; $b = (string)$b['name'];