Skip to content

Commit

Permalink
Don't drop down button area for sets with no buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
glacials committed Jun 14, 2024
1 parent bb7d8ba commit 86ad70b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions web/src/components/SetListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import SetImage from "./SetImage.vue";
defineProps<{
round: card.Round;
set: card.Set;
set: card.CardSet;
}>();
</script>

Expand Down Expand Up @@ -35,7 +35,7 @@ defineProps<{
}"
v-if="set.code"
>
{{ set.name || set.codename || "???" }}
{{ set.name || `"${set.codename}"` || "???" }}
</span>
<span
:class="{
Expand All @@ -44,10 +44,10 @@ defineProps<{
}"
v-else
>
{{ set.name || set.codename || "???" }}
{{ set.name || `"${set.codename}"` || "???" }}
</span>
<set-image
:code="set.code"
:code="set.code || ''"
v-if="set.isReleased() && set.code !== undefined"
/>
<small
Expand All @@ -64,7 +64,7 @@ defineProps<{
:data-bs-parent="`#accordion-${round.internalId}`"
:id="`accordion-collapse-${set.internalId}`"
>
<div class="btn-group w-100">
<div class="btn-group w-100" v-if="set.code !== null || set.name !== null">
<a
class="border border-left-0 border-right-0 border-top-0 btn btn-outline-secondary btn-sm rounded-0 text-uppercase"
:href="
Expand Down

0 comments on commit 86ad70b

Please sign in to comment.