diff --git a/src/components/InstanceCard.vue b/src/components/InstanceCard.vue index 2c765c8..3abba77 100644 --- a/src/components/InstanceCard.vue +++ b/src/components/InstanceCard.vue @@ -34,7 +34,7 @@
-
+
{{ translatedThemes[category] }}
@@ -251,6 +251,12 @@ .map(l => this.translatedLanguages[l]) .filter(l => !!l) .join(', ') + }, + + limitedCategories () { + if (Array.isArray(this.instance.categories) === false) return [] + + return this.instance.categories.slice(0, 3) } },