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 d97ccccdd5
commit 4f41eaf88f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>