From 4777bec85fd5488c5c50d5452efe26a51f90f53e Mon Sep 17 00:00:00 2001
From: tusooa
Date: Wed, 27 Dec 2023 22:36:13 -0500
Subject: [PATCH] Add a description on what groups do
---
src/components/settings_modal/tabs/profile_tab.js | 5 ++++-
src/components/settings_modal/tabs/profile_tab.vue | 5 +++++
src/i18n/en.json | 1 +
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/components/settings_modal/tabs/profile_tab.js b/src/components/settings_modal/tabs/profile_tab.js
index 3cb3ae45..dee17450 100644
--- a/src/components/settings_modal/tabs/profile_tab.js
+++ b/src/components/settings_modal/tabs/profile_tab.js
@@ -120,8 +120,11 @@ const ProfileTab = {
const src = this.$store.state.users.currentUser.cover_photo
return (!src) ? this.defaultBanner : src
},
+ groupActorAvailable () {
+ return this.$store.state.instance.groupActorAvailable
+ },
availableActorTypes () {
- return this.$store.state.instance.groupActorAvailable ? ['Person', 'Service', 'Group'] : ['Person', 'Service']
+ return this.groupActorAvailable ? ['Person', 'Service', 'Group'] : ['Person', 'Service']
}
},
methods: {
diff --git a/src/components/settings_modal/tabs/profile_tab.vue b/src/components/settings_modal/tabs/profile_tab.vue
index e6dc5987..de5219a7 100644
--- a/src/components/settings_modal/tabs/profile_tab.vue
+++ b/src/components/settings_modal/tabs/profile_tab.vue
@@ -122,6 +122,11 @@
+
+
+ {{ $t('settings.actor_type_description') }}
+
+