mirror of
https://git.pleroma.social/sjw/pleroma-fe.git
synced 2024-12-24 02:46:28 +01:00
Fix frontend admin tab crashing when no primary frontend is set
This commit is contained in:
parent
c3c233c6fe
commit
661d5b6d25
@ -33,9 +33,9 @@
|
||||
>
|
||||
<strong>{{ frontend.name }}</strong>
|
||||
{{ ' ' }}
|
||||
<span v-if="adminDraft[':pleroma'][':frontends'][':primary'].name === frontend.name">
|
||||
<span v-if="adminDraft[':pleroma'][':frontends'][':primary']?.name === frontend.name">
|
||||
<i18n-t
|
||||
v-if="adminDraft[':pleroma'][':frontends'][':primary'].ref === frontend.refs[0]"
|
||||
v-if="adminDraft[':pleroma'][':frontends'][':primary']?.ref === frontend.refs[0]"
|
||||
keypath="admin_dash.frontend.is_default"
|
||||
/>
|
||||
<i18n-t
|
||||
|
Loading…
Reference in New Issue
Block a user