diff options
author | Mario Danic <mario@lovelyhq.com> | 2020-02-06 21:41:21 +0100 |
---|---|---|
committer | Mario Danic <mario@lovelyhq.com> | 2020-02-07 11:51:41 +0100 |
commit | d0e3255545f3c2b87752dde2cf56ef2547d92e83 (patch) | |
tree | b8ae7620111b0c377764c5dcd3e2483facff80c6 /apps/settings/src/components | |
parent | fc18116715e62f777074111a8d7a3a52601c2cef (diff) | |
download | nextcloud-server-d0e3255545f3c2b87752dde2cf56ef2547d92e83.tar.gz nextcloud-server-d0e3255545f3c2b87752dde2cf56ef2547d92e83.zip |
Add featured category
Signed-off-by: Mario Danic <mario@lovelyhq.com>
Diffstat (limited to 'apps/settings/src/components')
-rw-r--r-- | apps/settings/src/components/AppList.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/settings/src/components/AppList.vue b/apps/settings/src/components/AppList.vue index 5a0e570742f..ec57d4b75aa 100644 --- a/apps/settings/src/components/AppList.vue +++ b/apps/settings/src/components/AppList.vue @@ -146,6 +146,9 @@ export default { if (this.category === 'updates') { return apps.filter(app => app.update) } + if (this.category === 'featured') { + return apps.filter(app => app.level === 200) + } // filter app store categories return apps.filter(app => { return app.appstore && app.category !== undefined @@ -179,7 +182,7 @@ export default { return !this.useListView && !this.useBundleView }, useListView() { - return (this.category === 'installed' || this.category === 'enabled' || this.category === 'disabled' || this.category === 'updates') + return (this.category === 'installed' || this.category === 'enabled' || this.category === 'disabled' || this.category === 'updates' || this.category === 'featured') }, useBundleView() { return (this.category === 'app-bundles') |