From 852613f0790d4a74b48de9c81d20fc7760afaac7 Mon Sep 17 00:00:00 2001 From: Taron Chatoyan <47221390+t-chatoyan@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:19:38 +0400 Subject: [PATCH] fixed similar badges (#1972) Co-authored-by: Taron Chatoyan --- components/content/Badge.vue | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/components/content/Badge.vue b/components/content/Badge.vue index 563350bc0e..464ff3e79c 100644 --- a/components/content/Badge.vue +++ b/components/content/Badge.vue @@ -2,7 +2,14 @@

Available on:

{{version}} - {{ editionInfo(edition).label }} + + {{ editionInfo(edition).label }} +
@@ -16,8 +23,8 @@ default: '' }, editions: { - type: Object, - default: [] + type: String, + default: '' } }, data() { @@ -31,10 +38,6 @@ } } }, - mounted() { - console.log('All props:', this.$props); - console.log('All props:', this.$props.text); - }, methods: { editionInfo(edition) { return this.editionLabelAndColorByPrefix?.[edition] ?? {