From 9da69633a778146fcf31fe25c13adc4485037573 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 3b648376efa1b..35751522c4c96 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -445,7 +445,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 24387581cdd25..56f5d152ed4f2 100644 --- a/apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue +++ b/apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue @@ -114,7 +114,7 @@ -
+

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