Add category field to apps that are only known from the app store
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
de66336f9c
commit
f5ecd1c100
|
@ -253,6 +253,7 @@ class AppSettingsController extends Controller {
|
|||
$apps = array_map(function($appData) use ($dependencyAnalyzer) {
|
||||
$appstoreData = $appData['appstoreData'];
|
||||
$appData['screenshot'] = isset($appstoreData['screenshots'][0]['url']) ? 'https://usercontent.apps.nextcloud.com/'.base64_encode($appstoreData['screenshots'][0]['url']) : '';
|
||||
$appData['category'] = $appstoreData['categories'];
|
||||
|
||||
$newVersion = $this->installer->isUpdateAvailable($appData['id']);
|
||||
if($newVersion && $this->appManager->isInstalled($appData['id'])) {
|
||||
|
|
Loading…
Reference in New Issue