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 }} {{ 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;">
{{ l.name }} <b-tag :class="l.subscriptionStatus" size="is-small" :key="l.id">
<sup>{{ $t('subscribers.status.'+ l.subscriptionStatus) }}</sup> {{ l.name }}
<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>