Also allow to update apps which are currently not enabled

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2018-08-02 14:26:31 +02:00
parent 2dcae4e8ea
commit a9f8ee4e9d
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class AppSettingsController extends Controller {
$appData['category'] = $appstoreData['categories'];
$newVersion = $this->installer->isUpdateAvailable($appData['id']);
if($newVersion && $this->appManager->isInstalled($appData['id'])) {
if($newVersion) {
$appData['update'] = $newVersion;
}