- {{ group ? $t('group.roles.' + group.myRole) : '' }}
+ {{ group && group.myRole ? $t('group.roles.' + group.myRole) : '' }}
@@ -127,7 +127,7 @@
- {{ group ? $t('group.types.' + group.groupType) : '' }}
+ {{ group && group.groupType ? $t('group.types.' + group.groupType) : '' }}
@@ -136,22 +136,46 @@
- {{ group ? $t('group.actionRadii.' + group.actionRadius) : '' }}
+ {{
+ group && group.actionRadius ? $t('group.actionRadii.' + group.actionRadius) : ''
+ }}
-
-
+
+
-
+
{{ $t('group.goal') }}
{{ group ? group.about : '' }}
-
-
+
+
+
+
+ {{
+ $t(
+ 'group.categories',
+ {},
+ group && group.categories ? group.categories.length : 0,
+ )
+ }}
+
+
+
+
+
+
+
+
@@ -327,6 +351,7 @@ export default {
data() {
// const filter = tabToFilterMapping({ tab: 'post', id: this.$route.params.id })
return {
+ categoriesActive: this.$env.CATEGORIES_ACTIVE,
Group: [],
GroupMembers: [],
posts: [],