diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-03-18 14:13:01 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-03-18 14:13:42 +0100 |
commit | c6e75be83d62ec475a591d605533a8f4cbeb3801 (patch) | |
tree | 47be0f83b599fd8de409f7083d635efb32100b3b /apps/settings/src/views | |
parent | 7b1d1b329e7c0eafa87d256d2c6a8c810e6d648d (diff) | |
download | nextcloud-server-c6e75be83d62ec475a591d605533a8f4cbeb3801.tar.gz nextcloud-server-c6e75be83d62ec475a591d605533a8f4cbeb3801.zip |
fix(settings): Open app details also on app discover section when requested
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/settings/src/views')
-rw-r--r-- | apps/settings/src/views/AppStoreNavigation.vue | 4 | ||||
-rw-r--r-- | apps/settings/src/views/AppStoreSidebar.vue | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/apps/settings/src/views/AppStoreNavigation.vue b/apps/settings/src/views/AppStoreNavigation.vue index 75ce207c80f..1e89cda17c1 100644 --- a/apps/settings/src/views/AppStoreNavigation.vue +++ b/apps/settings/src/views/AppStoreNavigation.vue @@ -3,8 +3,7 @@ <NcAppNavigation :aria-label="t('settings', 'Apps')"> <template #list> <NcAppNavigationItem id="app-category-discover" - :to="{ name: 'apps' }" - :exact="true" + :to="{ name: 'apps-category', params: { category: 'discover'} }" :name="APPS_SECTION_ENUM.discover"> <template #icon> <NcIconSvgWrapper :path="APPSTORE_CATEGORY_ICONS.discover" /> @@ -12,7 +11,6 @@ </NcAppNavigationItem> <NcAppNavigationItem id="app-category-installed" :to="{ name: 'apps-category', params: { category: 'installed'} }" - :exact="true" :name="APPS_SECTION_ENUM.installed"> <template #icon> <NcIconSvgWrapper :path="APPSTORE_CATEGORY_ICONS.installed" /> diff --git a/apps/settings/src/views/AppStoreSidebar.vue b/apps/settings/src/views/AppStoreSidebar.vue index 1e0d2562abc..0e76d360afd 100644 --- a/apps/settings/src/views/AppStoreSidebar.vue +++ b/apps/settings/src/views/AppStoreSidebar.vue @@ -80,7 +80,7 @@ const hasRating = computed(() => app.value.appstoreData?.ratingNumOverall > 5) const rating = computed(() => app.value.appstoreData?.ratingNumRecent > 5 ? app.value.appstoreData.ratingRecent : (app.value.appstoreData?.ratingOverall ?? 0.5)) -const showSidebar = computed(() => app.value) +const showSidebar = computed(() => app.value !== null) const { appIcon } = useAppIcon(app) |