aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorKate <26026535+provokateurin@users.noreply.github.com>2024-10-17 08:59:02 +0200
committerGitHub <noreply@github.com>2024-10-17 08:59:02 +0200
commit4100f583f03464978e622f5765bbef33e363c97f (patch)
tree203338d295cdaee71d42a0f9a58cdc5d1e185caf /apps
parent681ee75ab99b490acc6dc98ec99f27778de7f057 (diff)
parent74d179edf308bc4995494ead02b0b1b3d129dd79 (diff)
downloadnextcloud-server-4100f583f03464978e622f5765bbef33e363c97f.tar.gz
nextcloud-server-4100f583f03464978e622f5765bbef33e363c97f.zip
Merge pull request #48743 from nextcloud/fix/45717/hide-last-modified-for-shipped-apps
Diffstat (limited to 'apps')
-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 7f8e2db4418..7a1e5dd7157 100644
--- a/apps/settings/lib/Controller/AppSettingsController.php
+++ b/apps/settings/lib/Controller/AppSettingsController.php
@@ -419,7 +419,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>