aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorMarcel Müller <marcel-mueller@gmx.de>2024-10-16 23:46:45 +0200
committerMarcel Müller <marcel-mueller@gmx.de>2024-10-18 12:02:07 +0200
commit2023f3cce3cdd49cd1171bdc4b58c876a57ee415 (patch)
treed69d2de0023a1d0fa7e266fb21d7b76ca2fbb8a5 /apps/settings
parent245b724eddccdda64bb967f67e58da3e9c572597 (diff)
downloadnextcloud-server-2023f3cce3cdd49cd1171bdc4b58c876a57ee415.tar.gz
nextcloud-server-2023f3cce3cdd49cd1171bdc4b58c876a57ee415.zip
fix(appstore): Hide last modified information for shipped appsbackport/48743/stable30
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
Diffstat (limited to 'apps/settings')
-rw-r--r--apps/settings/lib/Controller/AppSettingsController.php2
-rw-r--r--apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php
index 743c1673a56..ccd0b418040 100644
--- a/apps/settings/lib/Controller/AppSettingsController.php
+++ b/apps/settings/lib/Controller/AppSettingsController.php
@@ -418,7 +418,7 @@ class AppSettingsController extends Controller {
'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 ef97837b8d4..653a1ee5a2d 100644
--- a/apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue
+++ b/apps/settings/src/components/AppStoreSidebar/AppDetailsTab.vue
@@ -97,7 +97,7 @@
</li>
</ul>
- <div v-if="lastModified" class="app-details__section">
+ <div v-if="lastModified && !app.shipped" class="app-details__section">
<h4>
{{ t('settings', 'Latest updated') }}
</h4>