Skip to content

Commit

Permalink
experiment_types
Browse files Browse the repository at this point in the history
  • Loading branch information
NishaSharma14 committed Dec 7, 2023
1 parent cb33a78 commit 62573e1
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions resources/js/Shared/StudyCardPublic.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,14 @@
study.experiment_types.length > 0
"
>
<span
v-for="type in study.experiment_types"
:key="type"
class="mt-1 inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10"
>
{{ type }}
</span>
<div v-for="type in study.experiment_types" :key="type">
<span
v-if="type && type != null"
class="mt-1 inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10"
>
{{ type }}
</span>
</div>
</div>
</div>

Expand Down

0 comments on commit 62573e1

Please sign in to comment.