diff --git a/src/components/ui/FetchedTags.vue b/src/components/ui/FetchedTags.vue index 7f153f1ac..b3912f779 100644 --- a/src/components/ui/FetchedTags.vue +++ b/src/components/ui/FetchedTags.vue @@ -18,8 +18,7 @@ const $props = defineProps({ }, columns: { type: Number, - required: false, - default: null, + default: 3, }, }); @@ -30,10 +29,7 @@ const tags = computed(() => { const n = tag.split(`${$props.tag}`)[1]; const key = `${$props.tag}${n}`; const value = `${$props.value}${n}`; - const val = $props.item[value] ?? ''; - const match = $props.item[`match${n}`] ?? ''; - const style = match ? 'color:green' : ''; - acc[$props.item[key] ?? key] = { val, style, match }; + acc[$props.item[key] ?? key] = $props.item[value] ?? ''; return acc; }, {}); }); @@ -51,18 +47,15 @@ const columnStyle = computed(() => {