Merge branch 'admin-dashboard-fixes' into shigusegubu-vue3

This commit is contained in:
Henry Jameson 2023-11-13 17:31:40 +02:00
commit 199a00214f
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
fix admin dashboard not having any feedback on frontend installation

View file

@ -56,7 +56,7 @@ const FrontendsTab = {
},
getSuggestedRef (frontend) {
const defaultFe = this.adminDraft[':pleroma'][':frontends'][':primary']
if (defaultFe.name === frontend.name && this.canInstall(defaultFe)) {
if (defaultFe?.name === frontend.name && this.canInstall(defaultFe)) {
return defaultFe.ref
} else {
return frontend.refs[0]