Skip to content

Commit 01096f2

Browse files
AllanKoderCopilot
andauthored
Update resources/js/Components/Resources/ResourceDescription.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent dbb2d26 commit 01096f2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

resources/js/Components/Resources/ResourceDescription.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ const props = defineProps({
6464
</span>
6565
</div>
6666
<!-- Languages -->
67-
<div v-if="props.resource.languages?.length" class="flex items-center gap-2 flex-wrap">
68-
<span v-for="language in props.resource.languages" :key="language" class="px-2 py-0.5 rounded bg-gray-100 dark:bg-gray-800 text-xs text-gray-700 dark:text-gray-200 border border-gray-200 dark:border-gray-700">
67+
<div v-if="props.resource.programming_languages_tags?.length" class="flex items-center gap-2 flex-wrap">
68+
<span v-for="language in props.resource.programming_languages_tags" :key="language" class="px-2 py-0.5 rounded bg-gray-100 dark:bg-gray-800 text-xs text-gray-700 dark:text-gray-200 border border-gray-200 dark:border-gray-700">
6969
{{ language }}
7070
</span>
7171
</div>
7272
<!-- Tags -->
73-
<div v-if="props.resource.tags?.length" class="flex items-center gap-2 flex-wrap">
74-
<span v-for="tag in props.resource.tags" :key="tag.id" class="px-2 py-0.5 rounded bg-gray-100 dark:bg-gray-800 text-xs text-gray-700 dark:text-gray-200 border border-gray-200 dark:border-gray-700">
75-
{{ tag.name }}
73+
<div v-if="props.resource.general_tags?.length" class="flex items-center gap-2 flex-wrap">
74+
<span v-for="tag in props.resource.general_tags" :key="tag" class="px-2 py-0.5 rounded bg-gray-100 dark:bg-gray-800 text-xs text-gray-700 dark:text-gray-200 border border-gray-200 dark:border-gray-700">
75+
{{ tag }}
7676
</span>
7777
</div>
7878
</div>

0 commit comments

Comments
 (0)