mirror of
https://github.com/knadh/listmonk.git
synced 2025-01-01 11:45:01 +08:00
Remove redundant status from single opt-in list subscriptions on the UI. Closes #741.
This commit is contained in:
parent
8f45abec27
commit
f9854bc54b
2 changed files with 4 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue