diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-11-12 10:38:13 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-11-12 10:38:38 +0000 |
| commit | 9ccd01352290759575cd65b521eeba149c5cb3b7 (patch) | |
| tree | 1bfb9e5a35074097b313734292e8d2e1f48ce1d9 /src/components/settings_modal/admin_tabs/frontends_tab.vue | |
| parent | dbf14eee40bf6d7a4ce45605fc52c941013f7d4b (diff) | |
Merge branch 'tusooa/fix-admin-crash-when-no-primary-fe-set' into 'develop'
fix admin crash when no primary fe set
See merge request pleroma/pleroma-fe!1867
(cherry picked from commit faef2767cd7ba5961445e9c38e8ebf52d3610259)
661d5b6d Fix frontend admin tab crashing when no primary frontend is set
b2c5520d Add changelog for frontend tab crash fix
Diffstat (limited to 'src/components/settings_modal/admin_tabs/frontends_tab.vue')
| -rw-r--r-- | src/components/settings_modal/admin_tabs/frontends_tab.vue | 4 |
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 |
