aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2023-11-12 10:48:06 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2023-11-12 10:48:06 +0000
commit3781f0e3bf3f796772a42226bc2897eb0b3294b4 (patch)
tree1bfb9e5a35074097b313734292e8d2e1f48ce1d9 /src
parentdbf14eee40bf6d7a4ce45605fc52c941013f7d4b (diff)
parent9ccd01352290759575cd65b521eeba149c5cb3b7 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/components/settings_modal/admin_tabs/frontends_tab.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/settings_modal/admin_tabs/frontends_tab.vue b/src/components/settings_modal/admin_tabs/frontends_tab.vue
index 13b8fa6b..25b08eb7 100644
--- a/src/components/settings_modal/admin_tabs/frontends_tab.vue
+++ b/src/components/settings_modal/admin_tabs/frontends_tab.vue
@@ -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