summaryrefslogtreecommitdiffstats
path: root/settings/src/views/Apps.vue
diff options
context:
space:
mode:
Diffstat (limited to 'settings/src/views/Apps.vue')
-rw-r--r--settings/src/views/Apps.vue15
1 files changed, 15 insertions, 0 deletions
diff --git a/settings/src/views/Apps.vue b/settings/src/views/Apps.vue
index 7dbf9e887d8..07147d10c61 100644
--- a/settings/src/views/Apps.vue
+++ b/settings/src/views/Apps.vue
@@ -158,6 +158,14 @@ export default {
text: t('settings', 'Disabled apps'),
}
];
+
+ if (!this.settings.appstoreEnabled) {
+ return {
+ id: 'appscategories',
+ items: defaultCategories
+ }
+ }
+
if (this.$store.getters.getUpdateCount > 0) {
defaultCategories.push({
id: 'app-category-updates',
@@ -187,6 +195,13 @@ export default {
categories[0].classes.push('active');
}
+ categories.push({
+ id: 'app-developer-docs',
+ classes: [],
+ href: this.settings.developerDocumentation,
+ text: t('settings', 'Developer documentation') + ' ↗',
+ });
+
// Return
return {
id: 'appscategories',