mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 06:52:35 -04:00
[admin] fix admin panel stuck if there's a ban proposal without a profile
This commit is contained in:
parent
086ef11470
commit
7422bc05f5
@ -239,7 +239,7 @@
|
|||||||
<tr v-for="proposal in banProposals">
|
<tr v-for="proposal in banProposals">
|
||||||
<td>
|
<td>
|
||||||
<a :href="`https://pronouns.page/@${proposal.username}`" target="_blank" rel="noopener">@{{proposal.username}}</a>
|
<a :href="`https://pronouns.page/@${proposal.username}`" target="_blank" rel="noopener">@{{proposal.username}}</a>
|
||||||
<ul class="list-unstyled">
|
<ul class="list-unstyled" v-if="proposal.profiles">
|
||||||
<li v-for="locale in proposal.profiles.split(',')" v-if="locales[locale]">
|
<li v-for="locale in proposal.profiles.split(',')" v-if="locales[locale]">
|
||||||
<LocaleLink :link="`/@${proposal.username}`" :locale="locale">
|
<LocaleLink :link="`/@${proposal.username}`" :locale="locale">
|
||||||
{{ locales[locale].name }}
|
{{ locales[locale].name }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user