From 75212ae22de6efa0df5cc2c461cd45f1d67de4fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Wed, 16 Oct 2024 23:46:45 +0200 Subject: [PATCH] fix(appstore): Hide last modified information for shipped apps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller [skip ci] --- apps/settings/lib/Controller/AppSettingsController.php | 2 +- apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php index 743c1673a56cf..ccd0b418040eb 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -418,7 +418,7 @@ private function getAppsForCategory($requestedCategory = ''): array { 'summary' => $app['translations'][$currentLanguage]['summary'] ?? $app['translations']['en']['summary'], 'license' => $app['releases'][0]['licenses'], 'author' => $authors, - 'shipped' => false, + 'shipped' => $this->appManager->isShipped($app['id']), 'version' => $currentVersion, 'default_enable' => '', 'types' => [], diff --git a/apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue b/apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue index ef97837b8d4b3..653a1ee5a2db0 100644 --- a/apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue +++ b/apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue @@ -97,7 +97,7 @@ -
+

{{ t('settings', 'Latest updated') }}