fix crash added in this MR

This commit is contained in:
Henry Jameson 2023-11-19 10:02:42 +02:00
parent 75eea5f2b2
commit a190ef2c56
1 changed files with 2 additions and 2 deletions

View File

@ -135,8 +135,8 @@
class="button button-default btn"
type="button"
:disabled="
adminDraft[':pleroma'][':frontends'][':primary'].name === frontend.name &&
adminDraft[':pleroma'][':frontends'][':primary'].ref === frontend.refs[0]
adminDraft[':pleroma'][':frontends'][':primary']?.name === frontend.name &&
adminDraft[':pleroma'][':frontends'][':primary']?.ref === frontend.refs[0]
"
@click="setDefault(frontend)"
>