mirror of https://github.com/hashicorp/consul
ui: Additionally use message for displaying errors in DataWriter (#14074)
parent
d97ccccdd5
commit
4f41eaf88f
|
@ -108,6 +108,8 @@ as |after|}}
|
||||||
There was an error saving your {{or label type}}.
|
There was an error saving your {{or label type}}.
|
||||||
{{#if (and api.error.status api.error.detail)}}
|
{{#if (and api.error.status api.error.detail)}}
|
||||||
<br />{{api.error.status}}: {{api.error.detail}}
|
<br />{{api.error.status}}: {{api.error.detail}}
|
||||||
|
{{else if api.error.message}}
|
||||||
|
<br />{{api.error.message}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</p>
|
</p>
|
||||||
</notice.Body>
|
</notice.Body>
|
||||||
|
|
Loading…
Reference in New Issue