Skip to content

Commit

Permalink
Remove redundant status from single opt-in list subscriptions on the …
Browse files Browse the repository at this point in the history
…UI. Closes #741.
  • Loading branch information
knadh committed Mar 10, 2022
1 parent 8f45abe commit f9854bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/ListSelector.vue
Expand Up @@ -8,7 +8,7 @@
:closable="true"
:data-id="l.id"
@close="removeList(l.id)" class="list">
{{ l.name }} <sup>{{ l.subscriptionStatus }}</sup>
{{ l.name }} <sup v-if="l.optin === 'double'">{{ l.subscriptionStatus }}</sup>
</b-tag>
</b-taglist>
</div>
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/views/Subscribers.vue
Expand Up @@ -133,7 +133,9 @@
v-bind:key="l.id" style="padding-right:0.5em;">
<b-tag :class="l.subscriptionStatus" size="is-small" :key="l.id">
{{ l.name }}
<sup>{{ $t('subscribers.status.'+ l.subscriptionStatus) }}</sup>
<sup v-if="l.optin === 'double'">
{{ $t(`subscribers.status.${l.subscriptionStatus}`) }}
</sup>
</b-tag>
</router-link>
</template>
Expand Down

0 comments on commit f9854bc

Please sign in to comment.