Merge pull request #284 from RustyDust/master

Fix wrong list links in subscribers overview
This commit is contained in:
Kailash Nadh 2021-03-07 13:22:20 +05:30 committed by GitHub
commit 93a710c9ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -125,13 +125,15 @@
{{ props.row.email }}
</a>
<b-taglist>
<router-link :to="`/subscribers/lists/${props.row.id}`">
<b-tag :class="l.subscriptionStatus" v-for="l in props.row.lists"
size="is-small" :key="l.id">
{{ l.name }}
<sup>{{ $t('subscribers.status.'+ l.subscriptionStatus) }}</sup>
<template v-for="l in props.row.lists">
<router-link :to="`/subscribers/lists/${l.id}`"
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>
</b-tag>
</router-link>
</template>
</b-taglist>
</b-table-column>