diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-07-26 22:55:50 +0200 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2023-07-31 09:17:32 +0000 |
commit | c1975a634cb6d40d9024c7b329c1a5bb0d01aa24 (patch) | |
tree | 3fa46fec4ccc8658be7516d3887e594c8dd68881 /apps/settings/src/components/AppList.vue | |
parent | 0de805b2a71b1ce295c78b8497a96673a5758911 (diff) | |
download | nextcloud-server-c1975a634cb6d40d9024c7b329c1a5bb0d01aa24.tar.gz nextcloud-server-c1975a634cb6d40d9024c7b329c1a5bb0d01aa24.zip |
feat(settings): Show supported apps on app settings if subscribed
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/settings/src/components/AppList.vue')
-rw-r--r-- | apps/settings/src/components/AppList.vue | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/settings/src/components/AppList.vue b/apps/settings/src/components/AppList.vue index 734c1952998..751a9ffdb54 100644 --- a/apps/settings/src/components/AppList.vue +++ b/apps/settings/src/components/AppList.vue @@ -154,7 +154,12 @@ export default { if (this.category === 'updates') { return apps.filter(app => app.update) } + if (this.category === 'supported') { + // For customers of the Nextcloud GmbH the app level will be set to `300` for apps that are supported in their subscription + return apps.filter(app => app.level === 300) + } if (this.category === 'featured') { + // An app level of `200` will be set for apps featured on the app store return apps.filter(app => app.level === 200) } // filter app store categories @@ -190,7 +195,7 @@ export default { return !this.useListView && !this.useBundleView }, useListView() { - return (this.category === 'installed' || this.category === 'enabled' || this.category === 'disabled' || this.category === 'updates' || this.category === 'featured') + return (this.category === 'installed' || this.category === 'enabled' || this.category === 'disabled' || this.category === 'updates' || this.category === 'featured' || this.category === 'supported') }, useBundleView() { return (this.category === 'app-bundles') |