fix: Missing required prop warning in account settings page (#13711)
# Pull Request Template ## Description This PR fixes the console warning in development: `[Vue warn]: Missing required prop: "name"` on the account settings page. ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) ## How Has This Been Tested? **Screenshot** <img width="599" height="1036" alt="image" src="https://github.com/user-attachments/assets/b0b45854-4cfb-4fe7-ab14-c42a65c523df" /> ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [ ] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules
This commit is contained in:
@@ -160,6 +160,7 @@ export default {
|
|||||||
@submit.prevent="updateAccount"
|
@submit.prevent="updateAccount"
|
||||||
>
|
>
|
||||||
<WithLabel
|
<WithLabel
|
||||||
|
name="account-name"
|
||||||
:has-error="v$.name.$error"
|
:has-error="v$.name.$error"
|
||||||
:label="$t('GENERAL_SETTINGS.FORM.NAME.LABEL')"
|
:label="$t('GENERAL_SETTINGS.FORM.NAME.LABEL')"
|
||||||
:error-message="$t('GENERAL_SETTINGS.FORM.NAME.ERROR')"
|
:error-message="$t('GENERAL_SETTINGS.FORM.NAME.ERROR')"
|
||||||
@@ -173,6 +174,7 @@ export default {
|
|||||||
/>
|
/>
|
||||||
</WithLabel>
|
</WithLabel>
|
||||||
<WithLabel
|
<WithLabel
|
||||||
|
name="site-language"
|
||||||
:has-error="v$.locale.$error"
|
:has-error="v$.locale.$error"
|
||||||
:label="$t('GENERAL_SETTINGS.FORM.LANGUAGE.LABEL')"
|
:label="$t('GENERAL_SETTINGS.FORM.LANGUAGE.LABEL')"
|
||||||
:error-message="$t('GENERAL_SETTINGS.FORM.LANGUAGE.ERROR')"
|
:error-message="$t('GENERAL_SETTINGS.FORM.LANGUAGE.ERROR')"
|
||||||
@@ -189,6 +191,7 @@ export default {
|
|||||||
</WithLabel>
|
</WithLabel>
|
||||||
<WithLabel
|
<WithLabel
|
||||||
v-if="featureCustomReplyDomainEnabled"
|
v-if="featureCustomReplyDomainEnabled"
|
||||||
|
name="custom-domain"
|
||||||
:label="$t('GENERAL_SETTINGS.FORM.DOMAIN.LABEL')"
|
:label="$t('GENERAL_SETTINGS.FORM.DOMAIN.LABEL')"
|
||||||
>
|
>
|
||||||
<NextInput
|
<NextInput
|
||||||
@@ -211,6 +214,7 @@ export default {
|
|||||||
</WithLabel>
|
</WithLabel>
|
||||||
<WithLabel
|
<WithLabel
|
||||||
v-if="featureCustomReplyEmailEnabled"
|
v-if="featureCustomReplyEmailEnabled"
|
||||||
|
name="support-email"
|
||||||
:label="$t('GENERAL_SETTINGS.FORM.SUPPORT_EMAIL.LABEL')"
|
:label="$t('GENERAL_SETTINGS.FORM.SUPPORT_EMAIL.LABEL')"
|
||||||
>
|
>
|
||||||
<NextInput
|
<NextInput
|
||||||
|
|||||||
Reference in New Issue
Block a user