Merge branch 'cherry-pick-faef2767' into 'release/2.6.x'
Fix admin dashboard crashing for 2.6.1 See merge request pleroma/pleroma-fe!1868
This commit is contained in:
commit
3781f0e3bf
1
changelog.d/fix-admin-crash-when-no-primary-fe-set.fix
Normal file
1
changelog.d/fix-admin-crash-when-no-primary-fe-set.fix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix frontend admin tab crashing when no primary frontend is set
|
@ -33,9 +33,9 @@
|
|||||||
>
|
>
|
||||||
<strong>{{ frontend.name }}</strong>
|
<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
|
<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"
|
keypath="admin_dash.frontend.is_default"
|
||||||
/>
|
/>
|
||||||
<i18n-t
|
<i18n-t
|
||||||
|
Loading…
Reference in New Issue
Block a user