fix: course tags issue when getting course details

This commit is contained in:
Jannat Patel
2025-03-21 05:53:24 +05:30
parent c25d95b3b6
commit 8e3b70e7c8
3 changed files with 3 additions and 4 deletions

View File

@@ -56,12 +56,12 @@
<CourseInstructors :instructors="course.data.instructors" />
</div>
</div>
<div class="flex mt-3 mb-4 w-fit">
<div v-if="course.data.tags" class="flex mt-3 mb-4 w-fit">
<Badge
theme="gray"
size="lg"
class="mr-2 text-ink-gray-9"
v-for="tag in course.data.tags"
v-for="tag in course.data.tags.split(', ')"
>
{{ tag }}
</Badge>