Skip to content

Commit

Permalink
Fix broken subscription status tag on subscriber form UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Oct 13, 2024
1 parent 1e875af commit b0f6c22
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/components/ListSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
<b-taglist>
<b-tag v-for="l in selectedItems" :key="l.id" :class="l.subscriptionStatus" :closable="!$props.disabled"
:data-id="l.id" @close="removeList(l.id)" class="list">
{{ l.name }} <sup v-if="l.optin === 'double'">{{ $t(`subscribers.status.${l.subscriptionStatus}`) }}</sup>
{{ l.name }}
<sup v-if="l.optin === 'double' && l.subscriptionStatus">
{{ $t(`subscribers.status.${l.subscriptionStatus}`) }}
</sup>
</b-tag>
</b-taglist>
</div>
Expand Down

0 comments on commit b0f6c22

Please sign in to comment.