Website: Update edit-details modal on customer dashboard page. (#20541)

Closes: #20539

Changes:
- Added `<cloud-error>` to the edit details modal on the
`/customers/dashboard` page.
This commit is contained in:
Eric 2024-07-17 13:55:39 -05:00 committed by GitHub
parent e52a82bf53
commit 5b5df4ac7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -168,6 +168,8 @@
<div class="invalid-feedback" v-if="formErrors.emailAddress" focus-first>Please enter a valid email address.</div>
</div>
</div>
<cloud-error class="mt-0" v-if="cloudError === 'emailAlreadyInUse'">That email is already linked to another Fleet account.</cloud-error>
<cloud-error class="mt-0" v-else-if="cloudError"></cloud-error>
<div class="border-0 justify-content-center">
<ajax-button purpose="submit-button" spinner="true" type="submit" :syncing="syncing" class="btn btn-sm btn-block btn-info" focus-first>Save</ajax-button>
</div>