diff --git a/lib/Controller/ExAppsPageController.php b/lib/Controller/ExAppsPageController.php index f83452cc..b8e4f779 100644 --- a/lib/Controller/ExAppsPageController.php +++ b/lib/Controller/ExAppsPageController.php @@ -289,7 +289,8 @@ public function listApps(): JSONResponse { }))[0]['releases'][0]['version']; } - $appData['canUnInstall'] = !$appData['active'] && $appData['removable'] && !isset($appData['status']['type']) + $appData['canUnInstall'] = !$appData['active'] && $appData['removable'] + && (isset($appData['status']['action']) && $appData['status']['action'] !== 'deploy') || (isset($appData['status']['action']) && $appData['status']['action'] === 'init') || !empty($appData['status']['error']);