ui: Additionally use message for displaying errors in DataWriter (#14074)

This commit is contained in:
John Cowen 2022-09-05 19:17:33 +01:00 committed by GitHub
parent a484a759c8
commit 9d555e538e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -108,6 +108,8 @@ as |after|}}
There was an error saving your {{or label type}}.
{{#if (and api.error.status api.error.detail)}}
<br />{{api.error.status}}: {{api.error.detail}}
{{else if api.error.message}}
<br />{{api.error.message}}
{{/if}}
</p>
</notice.Body>