Fix wrong list links in subscribers overview

This commit is contained in:
Stefan Rubner 2021-03-05 16:45:22 +01:00
parent 267dd52ec3
commit 860953e331
1 changed files with 7 additions and 5 deletions

View File

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